Fix ROM path logging, take two

This commit is contained in:
David Hrdlička
2022-04-08 02:22:13 +02:00
parent 8e65036b71
commit 2bd9884a32

View File

@@ -407,7 +407,6 @@ pc_init(int argc, char *argv[])
int ng = 0, lvmp = 0;
uint32_t *uid, *shwnd;
uint32_t lang_init = 0;
rom_path_t *rom_path = &rom_path;
/* Grab the executable's full path. */
plat_get_exe_name(exe_path, sizeof(exe_path)-1);
@@ -704,9 +703,9 @@ usage:
pclog("# VM: %s\n#\n", vm_name);
pclog("# Emulator path: %s\n", exe_path);
pclog("# Userfiles path: %s\n", usr_path);
do {
for(rom_path_t *rom_path = &rom_paths; rom_path != NULL; rom_path = rom_path->next) {
pclog("# ROM path: %s\n", rom_path->path);
} while (rom_path = rom_path->next);
}
pclog("# Configuration file: %s\n#\n\n", cfg_path);
/*