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

Added ctr.gfx.getFPS, renamed ctr.hid.read to ctr.hid.keys, unload font from memory when exiting and did some cleaning

This commit is contained in:
Reuh 2015-08-19 17:14:02 +02:00
parent bea69d4e30
commit b772a42d28
8 changed files with 42 additions and 19 deletions

View file

@ -7,10 +7,12 @@ int load_news_lib(lua_State *L);
int load_ptm_lib(lua_State *L);
int load_hid_lib(lua_State *L);
// Functions
static const struct luaL_Reg ctr_lib[] = {
{ NULL, NULL }
};
// Subtables
struct { char *name; int (*load)(lua_State *L); } ctr_libs[] = {
{ "gfx", load_gfx_lib },
{ "news", load_news_lib },