mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 00:20:01 +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