mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Merge pull request #13205 from Jamiras/cheevos_hide_unofficial
(cheevos) ignore unofficial achievements unless setting is enabled
This commit is contained in:
commit
d651c9ae02
@ -720,15 +720,16 @@ static void rcheevos_client_copy_achievements(
|
||||
|
||||
if (definition->category != 3)
|
||||
{
|
||||
achievement->active = RCHEEVOS_ACTIVE_UNOFFICIAL;
|
||||
if (!settings->bools.cheevos_test_unofficial)
|
||||
continue;
|
||||
|
||||
if (settings->bools.cheevos_test_unofficial)
|
||||
achievement->active |= RCHEEVOS_ACTIVE_SOFTCORE
|
||||
| RCHEEVOS_ACTIVE_HARDCORE;
|
||||
achievement->active = RCHEEVOS_ACTIVE_UNOFFICIAL
|
||||
| RCHEEVOS_ACTIVE_SOFTCORE
|
||||
| RCHEEVOS_ACTIVE_HARDCORE;
|
||||
}
|
||||
else
|
||||
{
|
||||
achievement->active = RCHEEVOS_ACTIVE_SOFTCORE
|
||||
achievement->active = RCHEEVOS_ACTIVE_SOFTCORE
|
||||
| RCHEEVOS_ACTIVE_HARDCORE;
|
||||
|
||||
for (j = 0; j <
|
||||
|
Loading…
x
Reference in New Issue
Block a user