diff --git a/content.c b/content.c index 58bc34c4a3..a37f873960 100644 --- a/content.c +++ b/content.c @@ -515,14 +515,14 @@ static bool load_content(const struct retro_subsystem_info *special, ret = core.retro_load_game_special(special->id, info, content->size); else { -#ifdef HAVE_CHEEVOS - /* Load the achievements into memory if the game has content. */ - - cheevos_globals.cheats_were_enabled = cheevos_globals.cheats_are_enabled; - cheevos_load(*content->elems[0].data ? info : NULL); -#endif - ret = core.retro_load_game(*content->elems[0].data ? info : NULL); + + #ifdef HAVE_CHEEVOS + /* Load the achievements into memory if the game has content. */ + + cheevos_globals.cheats_were_enabled = cheevos_globals.cheats_are_enabled; + cheevos_load(*content->elems[0].data ? info : NULL); + #endif } if (!ret)