mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 10:20:41 +00:00
runloop.c - check_pause - small nit
This commit is contained in:
parent
2ef17806fd
commit
c50352ebb9
@ -152,11 +152,11 @@ static void check_pause(bool pressed, bool frameadvance_pressed)
|
||||
focus = driver.video->focus(driver.video_data);
|
||||
|
||||
if (focus && pressed)
|
||||
g_extern.is_paused = !g_extern.is_paused;
|
||||
g_extern.is_paused = !g_extern.is_paused;
|
||||
else if (focus && !old_focus)
|
||||
g_extern.is_paused = false;
|
||||
else if (!focus && old_focus)
|
||||
g_extern.is_paused = true;
|
||||
g_extern.is_paused = true;
|
||||
|
||||
if (g_extern.is_paused)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user