mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
Cleanups
This commit is contained in:
parent
136a435c43
commit
184b519f84
10
retroarch.c
10
retroarch.c
@ -2255,14 +2255,14 @@ static enum runloop_state runloop_check_state(
|
||||
bool focused = true;
|
||||
bool pause_nonactive = settings->bools.pause_nonactive;
|
||||
bool fs_toggle_triggered = false;
|
||||
|
||||
video_driver_get_status(&frame_count, &is_alive, &is_focused);
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
if (menu_driver_is_binding_state())
|
||||
bool menu_driver_binding_state = menu_driver_is_binding_state();
|
||||
if (menu_driver_binding_state)
|
||||
current_input = 0;
|
||||
#endif
|
||||
|
||||
video_driver_get_status(&frame_count, &is_alive, &is_focused);
|
||||
|
||||
#ifdef HAVE_OVERLAY
|
||||
/* Check next overlay */
|
||||
{
|
||||
@ -2395,7 +2395,7 @@ static enum runloop_state runloop_check_state(
|
||||
if (!focused)
|
||||
return RUNLOOP_STATE_SLEEP;
|
||||
|
||||
if (action == MENU_ACTION_QUIT && !menu_driver_is_binding_state())
|
||||
if (action == MENU_ACTION_QUIT && !menu_driver_binding_state)
|
||||
return RUNLOOP_STATE_QUIT;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user