mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-26 17:40:40 +00:00
Putting check_variables up front in retro_load_game was causing crash
issues for Mednafen NGP
This commit is contained in:
parent
87b5e6bece
commit
2569e910c0
@ -662,7 +662,9 @@ bool retro_load_game(const struct retro_game_info *info)
|
||||
|
||||
set_basename(info->path);
|
||||
|
||||
#if !defined(WANT_NGP_EMU)
|
||||
check_variables();
|
||||
#endif
|
||||
|
||||
game = MDFNI_LoadGame(MEDNAFEN_CORE_NAME_MODULE, info->path);
|
||||
if (!game)
|
||||
@ -680,6 +682,10 @@ bool retro_load_game(const struct retro_game_info *info)
|
||||
|
||||
hookup_ports(true);
|
||||
|
||||
#if defined(WANT_NGP_EMU)
|
||||
check_variables();
|
||||
#endif
|
||||
|
||||
return game;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user