call retro_unload_game before retro_deinit (libretro api specifies retro_unload_game be called before retro_deinit, in practice cores don't really care but best fix this)

This commit is contained in:
CasualPokePlayer 2022-12-08 23:18:37 -08:00
parent 29443dae49
commit 64d693e63f
1 changed files with 1 additions and 1 deletions

View File

@ -136,8 +136,8 @@ namespace BizHawk.Emulation.Cores.Libretro
if (inited)
{
api.retro_deinit();
api.retro_unload_game();
api.retro_deinit();
inited = false;
}