mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-04 22:46:46 +00:00
Fix error message when file cannot be opened.
This commit is contained in:
parent
12ebdacd12
commit
e5d2df13e7
2
ssnes.c
2
ssnes.c
@ -329,7 +329,7 @@ static void parse_input(int argc, char *argv[])
|
||||
g_extern.rom_file = fopen(argv[optind], "rb");
|
||||
if (g_extern.rom_file == NULL)
|
||||
{
|
||||
SSNES_ERR("Could not open file: \"%s\"\n", optarg);
|
||||
SSNES_ERR("Could not open file: \"%s\"\n", argv[optind]);
|
||||
exit(1);
|
||||
}
|
||||
if (strlen(g_extern.savefile_name_srm) == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user