mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Minor cleanup
This commit is contained in:
parent
640d7e69f3
commit
5875562dce
@ -87,10 +87,6 @@
|
|||||||
#define DEFAULT_EXT ""
|
#define DEFAULT_EXT ""
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_MENU
|
|
||||||
#define runloop_cmd_menu_press(current_input, old_input, trigger_input) (BIT64_GET(trigger_input, RARCH_MENU_TOGGLE))
|
|
||||||
#endif
|
|
||||||
|
|
||||||
enum runloop_state
|
enum runloop_state
|
||||||
{
|
{
|
||||||
RUNLOOP_STATE_NONE = 0,
|
RUNLOOP_STATE_NONE = 0,
|
||||||
@ -803,7 +799,7 @@ static enum runloop_state runloop_check_state(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if ((!menu_event_keyboard_is_set(RETROK_F1) &&
|
else if ((!menu_event_keyboard_is_set(RETROK_F1) &&
|
||||||
runloop_cmd_menu_press(current_input, old_input, trigger_input)) ||
|
runloop_cmd_triggered(trigger_input, RARCH_MENU_TOGGLE)) ||
|
||||||
rarch_ctl(RARCH_CTL_IS_DUMMY_CORE, NULL))
|
rarch_ctl(RARCH_CTL_IS_DUMMY_CORE, NULL))
|
||||||
{
|
{
|
||||||
if (menu_driver_ctl(RARCH_MENU_CTL_IS_ALIVE, NULL))
|
if (menu_driver_ctl(RARCH_MENU_CTL_IS_ALIVE, NULL))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user