1
0
Fork 0
mirror of https://github.com/ctruLua/ctruLua.git synced 2025-10-27 16:39:29 +00:00

Fixed some documentation, added some things to sockets, "Fixed" the ROMFS

The romfs is still not working, but it works better.
This commit is contained in:
Firew0lf 2016-04-13 16:19:25 +02:00
parent e7ff54d58c
commit 6b65df0b8e
10 changed files with 115 additions and 70 deletions

View file

@ -215,7 +215,8 @@ int luaopen_ctr_lib(lua_State *L) {
@field root
*/
#ifdef ROMFS
char* buff = "romfs:";
char* buff = "romfs:/";
chdir(buff);
#else
char* buff = malloc(1024);
getcwd(buff, 1024);