commit a4a30df

Devine Lu Linvega  ·  2022-08-08 15:04:18 +0000 UTC
parent d60c5a0
Removed annoying debug message
2 files changed,  +1, -2
+1, -1
1@@ -90,7 +90,7 @@ file_read_dir(UxnFile *c, char *dest, Uint16 len)
2 			getcwd(cwd, sizeof(cwd));
3 			/* We already checked that c->current_filename exists so don't need a wrapper. */
4 			realpath(c->current_filename, t);
5-			if (strcmp(cwd, t) == 0)
6+			if(strcmp(cwd, t) == 0)
7 				continue;
8 		}
9 		if(strlen(c->current_filename) + 1 + strlen(c->de->d_name) < sizeof(pathname))
+0, -1
1@@ -84,7 +84,6 @@ main(int argc, char **argv)
2 		return emu_error("Boot", "Failed");
3 	if(!load_rom(&u, argv[1]))
4 		return emu_error("Load", "Failed");
5-	fprintf(stderr, "Loaded %s\n", argv[1]);
6 	if(!uxn_eval(&u, PAGE_PROGRAM))
7 		return emu_error("Init", "Failed");
8 	for(i = 2; i < argc; i++) {