mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-27 16:39:29 +00:00
Cleaned initialisation process
This commit is contained in:
parent
8da0e47ae3
commit
0af33d0b3a
6 changed files with 70 additions and 58 deletions
|
|
@ -22,6 +22,6 @@ void load_font_lib(lua_State *L) {
|
|||
luaL_requiref(L, "ctr.gfx.font", luaopen_font_lib, false);
|
||||
}
|
||||
|
||||
void unload_font_lib() {
|
||||
void unload_font_lib(lua_State *L) {
|
||||
sftd_free_font(font_default); // Unload current font
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue