mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +00:00
(input_driver.c) small micro-opts
This commit is contained in:
parent
5d87c697bb
commit
b908b1083b
@ -225,12 +225,12 @@ retro_input_t input_driver_keys_pressed(void)
|
||||
state = input->key_pressed(driver->input_data, key);
|
||||
|
||||
#ifdef HAVE_OVERLAY
|
||||
state = state || input_overlay_key_pressed(key);
|
||||
state |= input_overlay_key_pressed(key);
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_COMMAND
|
||||
if (driver->command)
|
||||
state = state || rarch_cmd_get(driver->command, key);
|
||||
state |= rarch_cmd_get(driver->command, key);
|
||||
#endif
|
||||
|
||||
if (state)
|
||||
|
Loading…
Reference in New Issue
Block a user