From a4a30df07e88eb2d077e4e486945371faec070f1 Mon Sep 17 00:00:00 2001 From: Devine Lu Linvega Date: Mon, 8 Aug 2022 08:04:18 -0700 Subject: [PATCH] Removed annoying debug message --- src/devices/file.c | 2 +- src/uxncli.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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++) {