Skip to content

Commit

Permalink
load_rom: add crc32 in the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
zelurker committed Feb 9, 2019
1 parent bfea59f commit 6dcaff2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions locale/french.po
Expand Up @@ -4198,8 +4198,8 @@ msgid "Unable to load: %s"
msgstr "Incapable de charger : %s"

#, c-format
msgid "Unable to open '%s'\n"
msgstr "Incapable d'ouvrir '%s'\n"
msgid "Unable to open '%s' crc32:%x\n"
msgstr "Incapable d'ouvrir '%s' crc32:%x\n"

#, c-format
msgid "Unable to save: %s"
Expand Down
4 changes: 2 additions & 2 deletions locale/it.po
Expand Up @@ -500,8 +500,8 @@ msgid "Unable to load: %s"
msgstr "Impossibile caricare: %s"

#, c-format
msgid "Unable to open '%s'\n"
msgstr "Impossibile aprire '%s'\n"
msgid "Unable to open '%s' crc32:%x\n"
msgstr "Impossibile aprire '%s' crc32:%x\n"

#, c-format
msgid "Unable to save: %s"
Expand Down
2 changes: 1 addition & 1 deletion source/loadroms.c
Expand Up @@ -1011,7 +1011,7 @@ int load_rom(char *rom, UINT8 *dest, UINT32 size)

if(!ta)
{
sprintf(load_debug+strlen(load_debug),_("Unable to open '%s'\n"),rom);
sprintf(load_debug+strlen(load_debug),_("Unable to open '%s' crc32:%x\n"),rom,rec_rom_info.crc32);
sprintf(load_debug+strlen(load_debug),"\n");
sprintf(load_debug+strlen(load_debug),_("Search path:\n"));
sprintf(load_debug+strlen(load_debug),"\n");
Expand Down

0 comments on commit 6dcaff2

Please sign in to comment.