mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Don't call driver_set_nonblock_state when we are about to shutdown
This commit is contained in:
parent
e87b094ae5
commit
e0b90e6d11
@ -322,7 +322,8 @@ void menu_driver_toggle(bool latch)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
driver_set_nonblock_state(driver->nonblock_state);
|
if (!system->shutdown)
|
||||||
|
driver_set_nonblock_state(driver->nonblock_state);
|
||||||
|
|
||||||
if (settings && settings->menu.pause_libretro)
|
if (settings && settings->menu.pause_libretro)
|
||||||
event_command(EVENT_CMD_AUDIO_START);
|
event_command(EVENT_CMD_AUDIO_START);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user