mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-28 00:39:30 +00:00
Added the "ctr.ir" library. Maybe it's working.
This commit is contained in:
parent
155a2e9805
commit
551e8e121e
2 changed files with 93 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ int load_gfx_lib(lua_State *L);
|
|||
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);
|
||||
|
||||
static int ctr_run(lua_State *L) {
|
||||
lua_pushboolean(L, aptMainLoop());
|
||||
|
|
@ -35,6 +36,7 @@ struct { char *name; int (*load)(lua_State *L); } ctr_libs[] = {
|
|||
{ "news", load_news_lib },
|
||||
{ "ptm", load_ptm_lib },
|
||||
{ "hid", load_hid_lib },
|
||||
{ "ir", load_ir_lib },
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue