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

Added fs lib; fs.list working. Added a simple shell.

This commit is contained in:
Reuh 2015-08-20 21:12:15 +02:00
parent 551e8e121e
commit 85d8f60f94
5 changed files with 211 additions and 65 deletions

View file

@ -10,6 +10,7 @@ int load_news_lib(lua_State *L);
int load_ptm_lib(lua_State *L);
int load_hid_lib(lua_State *L);
int load_ir_lib(lua_State *L);
int load_fs_lib(lua_State *L);
static int ctr_run(lua_State *L) {
lua_pushboolean(L, aptMainLoop());
@ -37,6 +38,7 @@ struct { char *name; int (*load)(lua_State *L); } ctr_libs[] = {
{ "ptm", load_ptm_lib },
{ "hid", load_hid_lib },
{ "ir", load_ir_lib },
{ "fs", load_fs_lib },
{ NULL, NULL }
};