make sure loaded is set to true before re-enabling rewind

This commit is contained in:
Jamiras 2021-11-14 21:46:23 -07:00
parent 7324c0d33b
commit 5c55a74655

View File

@ -1337,6 +1337,15 @@ static void rcheevos_start_session(void)
&& rcheevos_locals.hardcore_active)
rcheevos_activate_leaderboards();
/* We don't have to wait for this to complete
* to proceed to the next loading state */
rcheevos_client_start_session(rcheevos_locals.game.id);
rcheevos_validate_memrefs(&rcheevos_locals);
/* Let the runtime start processing the achievements */
rcheevos_locals.loaded = true;
#if HAVE_REWIND
if (!rcheevos_locals.hardcore_active)
{
@ -1360,15 +1369,6 @@ static void rcheevos_start_session(void)
}
#endif
/* We don't have to wait for this to complete
* to proceed to the next loading state */
rcheevos_client_start_session(rcheevos_locals.game.id);
rcheevos_validate_memrefs(&rcheevos_locals);
/* Let the runtime start processing the achievements */
rcheevos_locals.loaded = true;
rcheevos_show_game_placard();
if (rcheevos_end_load_state() == 0)