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
1 changed files with 1 additions and 2 deletions

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;