(cheevos) Cleanup

This commit is contained in:
twinaphex 2020-03-04 20:53:23 +01:00
parent 32e4aea068
commit dcfa8cc7ba

View File

@ -2532,9 +2532,8 @@ found:
*************************************************************************/
CORO_SUB(RCHEEVOS_GET_BADGES)
#if defined(HAVE_GFX_WIDGETS)
if (false) /* we always want badges if menu widgets are enabled */
#endif
/* we always want badges if menu widgets are enabled */
#if !defined(HAVE_GFX_WIDGETS)
{
settings_t *settings = config_get_ptr();
if (!(
@ -2544,6 +2543,7 @@ found:
!settings->bools.cheevos_badges_enable)
CORO_RET();
}
#endif
#ifdef HAVE_MENU
cheevos_reset_menu_badges();