Added missing boot function

This commit is contained in:
neauoire 2021-07-28 09:24:26 -07:00
parent 6c80a46a3a
commit 41eb23e2c2
1 changed files with 2 additions and 0 deletions

View File

@ -410,6 +410,8 @@ main(int argc, char **argv)
if(argc < 2)
return error("usage", "uxnemu file.rom");
if(!bootuxn(&u))
return error("Boot", "Failed to start uxn.");
if(!loaduxn(&u, argv[1]))
return error("Load", "Failed to open rom.");
if(!init())