mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 08:59:58 +00:00
Another cleanup
This commit is contained in:
parent
47ffe94479
commit
a9a3f6b078
@ -376,10 +376,8 @@ int16_t input_state(unsigned port, unsigned device,
|
||||
if (((id < RARCH_FIRST_META_KEY) || (device == RETRO_DEVICE_KEYBOARD)))
|
||||
{
|
||||
bool bind_valid = libretro_input_binds[port] && libretro_input_binds[port][id].valid;
|
||||
if (device == RETRO_DEVICE_KEYBOARD)
|
||||
bind_valid = true;
|
||||
|
||||
if (bind_valid)
|
||||
if (bind_valid || device == RETRO_DEVICE_KEYBOARD)
|
||||
{
|
||||
rarch_joypad_info_t joypad_info;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user