0
0
Fork 0
mirror of https://git.sr.ht/~rabbits/uxn synced 2024-11-26 15:53:01 +00:00

Try to start boot.rom if no rom is provided

This commit is contained in:
Devine Lu Linvega 2021-11-09 10:34:10 -05:00
parent d00baaec6a
commit 170aa0f64c

View file

@ -593,9 +593,8 @@ main(int argc, char **argv)
console_input(&u, '\n');
}
}
if(!loaded)
if(!loaded && !start(&u, "boot.rom"))
return error("usage", "uxnemu [-s scale] file.rom");
run(&u);
quit();
return 0;