From 5c55a746555ba6ebf1c5e6a359dad0330b6e00d0 Mon Sep 17 00:00:00 2001 From: Jamiras Date: Sun, 14 Nov 2021 21:46:23 -0700 Subject: [PATCH] make sure loaded is set to true before re-enabling rewind --- cheevos/cheevos.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/cheevos/cheevos.c b/cheevos/cheevos.c index e47beea452..61c60db872 100644 --- a/cheevos/cheevos.c +++ b/cheevos/cheevos.c @@ -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)