diff --git a/src/devices/file.c b/src/devices/file.c index 87cf9a2..18a518a 100644 --- a/src/devices/file.c +++ b/src/devices/file.c @@ -90,7 +90,7 @@ file_read_dir(UxnFile *c, char *dest, Uint16 len) getcwd(cwd, sizeof(cwd)); /* We already checked that c->current_filename exists so don't need a wrapper. */ realpath(c->current_filename, t); - if (strcmp(cwd, t) == 0) + if(strcmp(cwd, t) == 0) continue; } if(strlen(c->current_filename) + 1 + strlen(c->de->d_name) < sizeof(pathname)) diff --git a/src/uxncli.c b/src/uxncli.c index 0cb8cf2..07274f0 100644 --- a/src/uxncli.c +++ b/src/uxncli.c @@ -84,7 +84,6 @@ main(int argc, char **argv) return emu_error("Boot", "Failed"); if(!load_rom(&u, argv[1])) return emu_error("Load", "Failed"); - fprintf(stderr, "Loaded %s\n", argv[1]); if(!uxn_eval(&u, PAGE_PROGRAM)) return emu_error("Init", "Failed"); for(i = 2; i < argc; i++) {