Added missing boot function
This commit is contained in:
parent
6c80a46a3a
commit
41eb23e2c2
|
@ -410,6 +410,8 @@ main(int argc, char **argv)
|
||||||
|
|
||||||
if(argc < 2)
|
if(argc < 2)
|
||||||
return error("usage", "uxnemu file.rom");
|
return error("usage", "uxnemu file.rom");
|
||||||
|
if(!bootuxn(&u))
|
||||||
|
return error("Boot", "Failed to start uxn.");
|
||||||
if(!loaduxn(&u, argv[1]))
|
if(!loaduxn(&u, argv[1]))
|
||||||
return error("Load", "Failed to open rom.");
|
return error("Load", "Failed to open rom.");
|
||||||
if(!init())
|
if(!init())
|
||||||
|
|
Loading…
Reference in New Issue