Removed annoying debug message

This commit is contained in:
Devine Lu Linvega 2022-08-08 08:04:18 -07:00
parent d60c5a01b0
commit a4a30df07e
2 changed files with 1 additions and 2 deletions

View File

@ -90,7 +90,7 @@ file_read_dir(UxnFile *c, char *dest, Uint16 len)
getcwd(cwd, sizeof(cwd)); getcwd(cwd, sizeof(cwd));
/* We already checked that c->current_filename exists so don't need a wrapper. */ /* We already checked that c->current_filename exists so don't need a wrapper. */
realpath(c->current_filename, t); realpath(c->current_filename, t);
if (strcmp(cwd, t) == 0) if(strcmp(cwd, t) == 0)
continue; continue;
} }
if(strlen(c->current_filename) + 1 + strlen(c->de->d_name) < sizeof(pathname)) if(strlen(c->current_filename) + 1 + strlen(c->de->d_name) < sizeof(pathname))

View File

@ -84,7 +84,6 @@ main(int argc, char **argv)
return emu_error("Boot", "Failed"); return emu_error("Boot", "Failed");
if(!load_rom(&u, argv[1])) if(!load_rom(&u, argv[1]))
return emu_error("Load", "Failed"); return emu_error("Load", "Failed");
fprintf(stderr, "Loaded %s\n", argv[1]);
if(!uxn_eval(&u, PAGE_PROGRAM)) if(!uxn_eval(&u, PAGE_PROGRAM))
return emu_error("Init", "Failed"); return emu_error("Init", "Failed");
for(i = 2; i < argc; i++) { for(i = 2; i < argc; i++) {