mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-27 16:39:29 +00:00
Added an error in case of missing boot file.
This commit is contained in:
parent
79f4086cf0
commit
8a05ba5bff
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ int main() {
|
||||||
load_ctr_lib(L);
|
load_ctr_lib(L);
|
||||||
|
|
||||||
// Do the actual thing
|
// Do the actual thing
|
||||||
luaL_dofile(L, BOOT_FILE);
|
if(luaL_dofile(L, BOOT_FILE)) error("Can open "BOOT_FILE);
|
||||||
|
|
||||||
// Un-init (?)
|
// Un-init (?)
|
||||||
sftd_fini();
|
sftd_fini();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue