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:
parent
e7ff54d58c
commit
6b65df0b8e
10 changed files with 115 additions and 70 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue