mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-27 16:39:29 +00:00
Added some sleep mode related functions, fixed the example, fixed some things
This commit is contained in:
parent
b4ceb200ea
commit
5494f3d2e5
5 changed files with 34 additions and 4 deletions
|
|
@ -189,4 +189,6 @@ void unload_font_lib(lua_State *L) {
|
|||
|
||||
if (luaL_testudata(L, -1, "LFont") != NULL)
|
||||
sftd_free_font(((font_userdata *)lua_touserdata(L, -1))->font); // Unload current font
|
||||
|
||||
lua_pop(L, 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue