Browse code

Try to start boot.rom if no rom is provided

Devine Lu Linvega authored on 09/11/2021 15:34:10
Showing 1 changed files
... ...
@@ -593,9 +593,8 @@ main(int argc, char **argv)
593 593
 			console_input(&u, '\n');
594 594
 		}
595 595
 	}
596
-	if(!loaded)
596
+	if(!loaded && !start(&u, "boot.rom"))
597 597
 		return error("usage", "uxnemu [-s scale] file.rom");
598
-
599 598
 	run(&u);
600 599
 	quit();
601 600
 	return 0;