diff --git a/intl/msg_hash_us.c b/intl/msg_hash_us.c index 80f13579f5..23e9646b36 100644 --- a/intl/msg_hash_us.c +++ b/intl/msg_hash_us.c @@ -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."; case MSG_ERROR_PARSING_ARGUMENTS: return "Error parsing arguments."; + case MSG_ERROR: + return "Error"; case MSG_FAILED_TO_PATCH: return "Failed to patch"; case MSG_CONTENT_PATCHED_SUCCESSFULLY_IN: diff --git a/msg_hash.h b/msg_hash.h index 5b9df3429b..04788680d1 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -139,6 +139,7 @@ enum msg_hash_enums MSG_ERROR_LIBRETRO_CORE_REQUIRES_CONTENT, MSG_CONTENT_LOADING_SKIPPED_IMPLEMENTATION_WILL_DO_IT, MSG_PROGRAM, + MSG_ERROR, MSG_FOUND_SHADER, MSG_LOADING_HISTORY_FILE, MSG_COULD_NOT_READ_STATE_FROM_MOVIE, diff --git a/patch.c b/patch.c index 0feb96d2bb..74e72a20a8 100644 --- a/patch.c +++ b/patch.c @@ -555,9 +555,10 @@ static bool apply_patch_content(uint8_t **buf, success = true; } else - RARCH_ERR("%s %s: Error #%u\n", + RARCH_ERR("%s %s: %s #%u\n", msg_hash_to_str(MSG_FAILED_TO_PATCH), patch_desc, + msg_hash_to_str(MSG_ERROR), (unsigned)err); if (success)