hardcore mode is not dependent on having achievement data

This commit is contained in:
Jamiras 2019-11-17 09:07:57 -07:00
parent 0d284c42bc
commit 939770929f
2 changed files with 4 additions and 1 deletions

View File

@ -1450,6 +1450,7 @@ static int rcheevos_iterate(rcheevos_coro_t* coro)
}
CHEEVOS_LOG(RCHEEVOS_TAG "this game doesn't feature achievements\n");
rcheevos_hardcore_paused = true;
CORO_STOP();
found:
@ -1503,6 +1504,8 @@ found:
"This game has no achievements.",
0, 5 * 60, false, NULL, MESSAGE_QUEUE_ICON_DEFAULT, MESSAGE_QUEUE_CATEGORY_INFO);
rcheevos_hardcore_paused = true;
CORO_STOP();
}

View File

@ -25719,7 +25719,7 @@ static enum runloop_state runloop_check_state(void)
#ifdef HAVE_CHEEVOS
rcheevos_hardcore_active = settings->bools.cheevos_enable
&& settings->bools.cheevos_hardcore_mode_enable
&& rcheevos_loaded && !rcheevos_hardcore_paused;
&& !rcheevos_hardcore_paused;
if (rcheevos_hardcore_active && rcheevos_state_loaded_flag)
{