Exit when no console vector
This commit is contained in:
parent
6780c676e3
commit
a84854cb29
|
@ -126,7 +126,7 @@ main(int argc, char **argv)
|
|||
fread(&u.ram[0x0100], 0xff00, 1, f);
|
||||
fclose(f);
|
||||
u.dev[0x17] = argc - i;
|
||||
if(uxn_eval(&u, 0x0100)) {
|
||||
if(uxn_eval(&u, 0x0100) && (u.dev[0x10] << 8 | u.dev[0x11])) {
|
||||
for(; i < argc; i++) {
|
||||
char *p = argv[i];
|
||||
while(*p) console_input(&u, *p++, 0x2);
|
||||
|
|
Loading…
Reference in New Issue