commit 170aa0f64c44f36e1341daead3f0f606facf4205
parent d00baaec6af7ea5953a3d4c51e1cbba338bd9aa5
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date: Tue, 9 Nov 2021 10:34:10 -0500
Try to start boot.rom if no rom is provided
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/uxnemu.c b/src/uxnemu.c
@@ -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;