Merge pull request #17918 from Jamiras/feature/unsupported_warning
(cheevos) show additional warning message when unsupported achievements are detected
This commit is contained in:
commit
072142b5af
|
@ -1279,6 +1279,13 @@ static void rcheevos_show_game_placard(void)
|
|||
runloop_msg_queue_push(msg, _len, 0, 3 * 60, false, NULL,
|
||||
MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO);
|
||||
}
|
||||
|
||||
if (summary.num_unsupported_achievements)
|
||||
{
|
||||
const char* warning = msg_hash_to_str(MSG_CHEEVOS_UNSUPPORTED_WARNING);
|
||||
runloop_msg_queue_push(warning, strlen(warning), 0, 3 * 60, false, NULL,
|
||||
MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_WARNING);
|
||||
}
|
||||
}
|
||||
|
||||
static uint32_t rcheevos_client_read_memory(uint32_t address,
|
||||
|
|
|
@ -15594,6 +15594,10 @@ MSG_HASH(
|
|||
MSG_CHEEVOS_UNSUPPORTED_COUNT,
|
||||
"%d unsupported"
|
||||
)
|
||||
MSG_HASH(
|
||||
MSG_CHEEVOS_UNSUPPORTED_WARNING,
|
||||
"Unsupported achievements detected. Please try a different core or update RetroArch."
|
||||
)
|
||||
MSG_HASH(
|
||||
MSG_CHEEVOS_RICH_PRESENCE_SPECTATING,
|
||||
"Spectating %s"
|
||||
|
|
|
@ -4101,6 +4101,7 @@ enum msg_hash_enums
|
|||
MSG_CHEEVOS_UNOFFICIAL_ACHIEVEMENTS_ACTIVATED,
|
||||
MSG_CHEEVOS_NUMBER_ACHIEVEMENTS_UNLOCKED,
|
||||
MSG_CHEEVOS_UNSUPPORTED_COUNT,
|
||||
MSG_CHEEVOS_UNSUPPORTED_WARNING,
|
||||
MSG_CHEEVOS_RICH_PRESENCE_SPECTATING,
|
||||
MSG_CHEEVOS_HARDCORE_PAUSED_MANUAL_FRAME_DELAY,
|
||||
MSG_CHEEVOS_HARDCORE_PAUSED_VSYNC_SWAP_INTERVAL,
|
||||
|
|
Loading…
Reference in New Issue