mirror of
https://github.com/libretro/RetroArch.git
synced 2025-05-13 08:46:10 +00:00
Create MSG_ERROR
This commit is contained in:
parent
6756501dac
commit
4ea5fe4169
@ -2092,6 +2092,8 @@ const char *msg_hash_to_str_us(enum msg_hash_enums msg)
|
|||||||
return "CRC32 checksum mismatch between content file and saved content checksum in replay file header; replay highly likely to desync on playback.";
|
return "CRC32 checksum mismatch between content file and saved content checksum in replay file header; replay highly likely to desync on playback.";
|
||||||
case MSG_ERROR_PARSING_ARGUMENTS:
|
case MSG_ERROR_PARSING_ARGUMENTS:
|
||||||
return "Error parsing arguments.";
|
return "Error parsing arguments.";
|
||||||
|
case MSG_ERROR:
|
||||||
|
return "Error";
|
||||||
case MSG_FAILED_TO_PATCH:
|
case MSG_FAILED_TO_PATCH:
|
||||||
return "Failed to patch";
|
return "Failed to patch";
|
||||||
case MSG_CONTENT_PATCHED_SUCCESSFULLY_IN:
|
case MSG_CONTENT_PATCHED_SUCCESSFULLY_IN:
|
||||||
|
@ -139,6 +139,7 @@ enum msg_hash_enums
|
|||||||
MSG_ERROR_LIBRETRO_CORE_REQUIRES_CONTENT,
|
MSG_ERROR_LIBRETRO_CORE_REQUIRES_CONTENT,
|
||||||
MSG_CONTENT_LOADING_SKIPPED_IMPLEMENTATION_WILL_DO_IT,
|
MSG_CONTENT_LOADING_SKIPPED_IMPLEMENTATION_WILL_DO_IT,
|
||||||
MSG_PROGRAM,
|
MSG_PROGRAM,
|
||||||
|
MSG_ERROR,
|
||||||
MSG_FOUND_SHADER,
|
MSG_FOUND_SHADER,
|
||||||
MSG_LOADING_HISTORY_FILE,
|
MSG_LOADING_HISTORY_FILE,
|
||||||
MSG_COULD_NOT_READ_STATE_FROM_MOVIE,
|
MSG_COULD_NOT_READ_STATE_FROM_MOVIE,
|
||||||
|
3
patch.c
3
patch.c
@ -555,9 +555,10 @@ static bool apply_patch_content(uint8_t **buf,
|
|||||||
success = true;
|
success = true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
RARCH_ERR("%s %s: Error #%u\n",
|
RARCH_ERR("%s %s: %s #%u\n",
|
||||||
msg_hash_to_str(MSG_FAILED_TO_PATCH),
|
msg_hash_to_str(MSG_FAILED_TO_PATCH),
|
||||||
patch_desc,
|
patch_desc,
|
||||||
|
msg_hash_to_str(MSG_ERROR),
|
||||||
(unsigned)err);
|
(unsigned)err);
|
||||||
|
|
||||||
if (success)
|
if (success)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user