check_variables later

This commit is contained in:
radius 2017-10-15 15:48:56 -05:00
parent d8e460ca47
commit d57d4dbe24

View File

@ -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); snprintf(retro_game_path, sizeof(retro_game_path), "%s", info->path);
check_variables();
char buf[256]; char buf[256];
int err = 0; int err = 0;
if (!strstr(info->path, "gbc")) if (!strstr(info->path, "gbc"))
@ -413,6 +411,8 @@ bool retro_load_game(const struct retro_game_info *info)
bool yes = true; bool yes = true;
environ_cb(RETRO_ENVIRONMENT_SET_SUPPORT_ACHIEVEMENTS, &yes); environ_cb(RETRO_ENVIRONMENT_SET_SUPPORT_ACHIEVEMENTS, &yes);
check_variables();
return true; return true;
} }