mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 08:30:16 +00:00
Move this to CORE_CTL_RETRO_DEINIT
This commit is contained in:
parent
f6fcb95dea
commit
7a896596a1
@ -395,8 +395,6 @@ static void event_deinit_core(bool reinit)
|
||||
cheevos_unload();
|
||||
#endif
|
||||
|
||||
video_driver_callback_destroy_context();
|
||||
video_driver_unset_callback();
|
||||
core_ctl(CORE_CTL_RETRO_UNLOAD_GAME, NULL);
|
||||
core_ctl(CORE_CTL_RETRO_DEINIT, NULL);
|
||||
|
||||
|
@ -275,6 +275,8 @@ bool core_ctl(enum core_ctl_state state, void *data)
|
||||
core.retro_init();
|
||||
break;
|
||||
case CORE_CTL_RETRO_DEINIT:
|
||||
video_driver_callback_destroy_context();
|
||||
video_driver_unset_callback();
|
||||
core.retro_deinit();
|
||||
break;
|
||||
case CORE_CTL_RETRO_UNLOAD_GAME:
|
||||
|
Loading…
Reference in New Issue
Block a user