mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +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…
x
Reference in New Issue
Block a user