diff --git a/HOST/em8080.c b/HOST/em8080.c index 15cff6f..54446c6 100644 --- a/HOST/em8080.c +++ b/HOST/em8080.c @@ -113,7 +113,9 @@ int main(int argc, char** argv) { argc--; if (!argc) { fprintf(stderr, "No filename given\n"); + return 255; } + argv++; i8080 cpu; i8080_init(&cpu);