mirror of
https://github.com/libretro/RetroArch
synced 2024-12-27 15:29:23 +00:00
Small cleanup for HAVE_COMMAND.
This commit is contained in:
parent
b74aaa25ce
commit
bfd69d1baa
@ -66,8 +66,8 @@ static inline bool input_key_pressed_func(int key)
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_COMMAND
|
||||
if (!ret && driver.command)
|
||||
ret = rarch_cmd_get(driver.command, key);
|
||||
if (driver.command)
|
||||
ret = ret || rarch_cmd_get(driver.command, key);
|
||||
#endif
|
||||
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user