mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-28 00:33:02 +00:00
Added missing boot function
This commit is contained in:
parent
6c80a46a3a
commit
41eb23e2c2
1 changed files with 2 additions and 0 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue