mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 06:32:48 +00:00
Merge pull request #10858 from Jamiras/cheevos_hardcore_pause_unlock
(cheevos) correctly report unlocked non-hardcore achievements when hardcore is paused
This commit is contained in:
commit
ffdbb968f9
@ -1153,7 +1153,7 @@ void rcheevos_get_achievement_state(unsigned index, char *buffer, size_t buffer_
|
||||
else
|
||||
{
|
||||
settings_t* settings = config_get_ptr();
|
||||
bool hardcore = settings->bools.cheevos_hardcore_mode_enable;
|
||||
bool hardcore = settings->bools.cheevos_hardcore_mode_enable && !rcheevos_hardcore_paused;
|
||||
if (hardcore && !(cheevo->active & RCHEEVOS_ACTIVE_HARDCORE))
|
||||
enum_idx = MENU_ENUM_LABEL_VALUE_CHEEVOS_UNLOCKED_ENTRY_HARDCORE;
|
||||
else if (!hardcore && !(cheevo->active & RCHEEVOS_ACTIVE_SOFTCORE))
|
||||
|
Loading…
x
Reference in New Issue
Block a user