mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +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,10 +720,11 @@ static void rcheevos_client_copy_achievements(
|
|||||||
|
|
||||||
if (definition->category != 3)
|
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_UNOFFICIAL
|
||||||
achievement->active |= RCHEEVOS_ACTIVE_SOFTCORE
|
| RCHEEVOS_ACTIVE_SOFTCORE
|
||||||
| RCHEEVOS_ACTIVE_HARDCORE;
|
| RCHEEVOS_ACTIVE_HARDCORE;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user