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

TABS. TABS EVERYWHERE. Please.

Also, gfx.set3D now accept any value (not only boolean), like on Lua. Because why not (Also changed the ctrulib gfxSet3D function to the sf2dlib one).
This commit is contained in:
Reuh 2015-08-20 10:45:18 +02:00
parent 58309b39c2
commit 9ab25f7518
3 changed files with 8 additions and 10 deletions

View file

@ -11,14 +11,14 @@ int load_ptm_lib(lua_State *L);
int load_hid_lib(lua_State *L);
static int ctr_time(lua_State *L) {
lua_pushinteger(L, osGetTime());
return 1;
lua_pushinteger(L, osGetTime());
return 1;
}
// Functions
static const struct luaL_Reg ctr_lib[] = {
{ "time", ctr_time},
{ "time", ctr_time},
{ NULL, NULL }
};