(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
|
@ -515,9 +515,9 @@ main(int argc, char **argv)
|
|||
/* load rom */
|
||||
if(i == argc)
|
||||
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++];
|
||||
if(!start(&u, rom_path, argc - i))
|
||||
return system_error("Start", "Failed");
|
||||
/* read arguments */
|
||||
for(; i < argc; i++) {
|
||||
char *p = argv[i];
|
||||
|
|
Loading…
Reference in New Issue