diff --git a/ref/uxn.c b/ref/uxn.c index 866b0ee..105a44f 100644 --- a/ref/uxn.c +++ b/ref/uxn.c @@ -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);