mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
input_keys_pressed - cleanup
This commit is contained in:
parent
83ba8f0545
commit
c96312ad04
@ -595,13 +595,13 @@ retro_input_t input_keys_pressed(void)
|
||||
unsigned i;
|
||||
const struct retro_keybind *binds[MAX_USERS];
|
||||
retro_input_t ret = 0;
|
||||
driver_t *driver = driver_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
const input_driver_t *input = input_get_ptr();
|
||||
|
||||
for (i = 0; i < MAX_USERS; i++)
|
||||
binds[i] = settings->input.binds[i];
|
||||
|
||||
if (!driver->input || !main_input_data)
|
||||
if (!input || !main_input_data)
|
||||
return 0;
|
||||
|
||||
turbo_btns.count++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user