mirror of
https://git.sr.ht/~rabbits/uxn
synced 2024-11-10 16:25:05 +00:00
(uxnemu) Fixes issue where non-zero console/type occurs even when empty, fixed by hikari_no_yume
This commit is contained in:
parent
f5c816d215
commit
ff6d9e39ca
1 changed files with 2 additions and 2 deletions
|
@ -515,9 +515,9 @@ main(int argc, char **argv)
|
||||||
/* load rom */
|
/* load rom */
|
||||||
if(i == argc)
|
if(i == argc)
|
||||||
return system_error("usage", "uxnemu [-2x][-3x] file.rom [args...]");
|
return system_error("usage", "uxnemu [-2x][-3x] file.rom [args...]");
|
||||||
if(!start(&u, argv[i], argc - i))
|
|
||||||
return system_error("Start", "Failed");
|
|
||||||
rom_path = argv[i++];
|
rom_path = argv[i++];
|
||||||
|
if(!start(&u, rom_path, argc - i))
|
||||||
|
return system_error("Start", "Failed");
|
||||||
/* read arguments */
|
/* read arguments */
|
||||||
for(; i < argc; i++) {
|
for(; i < argc; i++) {
|
||||||
char *p = argv[i];
|
char *p = argv[i];
|
||||||
|
|
Loading…
Reference in a new issue