mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Respect C89 rules
This commit is contained in:
parent
08521a02ba
commit
a8b91ee910
@ -2256,6 +2256,7 @@ static enum runloop_state runloop_check_state(
|
||||
bool pause_nonactive = settings->bools.pause_nonactive;
|
||||
bool fs_toggle_triggered = false;
|
||||
#ifdef HAVE_MENU
|
||||
bool menu_driver_binding_state = menu_driver_is_binding_state();
|
||||
bool menu_is_alive = menu_driver_is_alive();
|
||||
uint64_t current_input =
|
||||
menu_is_alive ?
|
||||
@ -2268,7 +2269,6 @@ static enum runloop_state runloop_check_state(
|
||||
last_input = current_input;
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
bool menu_driver_binding_state = menu_driver_is_binding_state();
|
||||
if (menu_driver_binding_state)
|
||||
current_input = 0;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user