From d57d4dbe244b4acdd7e68e66f256c41794715f27 Mon Sep 17 00:00:00 2001 From: radius Date: Sun, 15 Oct 2017 15:48:56 -0500 Subject: [PATCH] check_variables later --- libretro/libretro.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libretro/libretro.c b/libretro/libretro.c index 56409ce..af3f717 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -310,8 +310,6 @@ bool retro_load_game(const struct retro_game_info *info) snprintf(retro_game_path, sizeof(retro_game_path), "%s", info->path); - check_variables(); - char buf[256]; int err = 0; if (!strstr(info->path, "gbc")) @@ -413,6 +411,8 @@ bool retro_load_game(const struct retro_game_info *info) bool yes = true; environ_cb(RETRO_ENVIRONMENT_SET_SUPPORT_ACHIEVEMENTS, &yes); + check_variables(); + return true; }