From d8f27886ad898cdf8cc0a63b8bb913c4135cd496 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 30 Aug 2017 14:02:18 +0200 Subject: [PATCH] Reduce size of input driver ids to uint16_t - should be enough --- input/input_driver.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input/input_driver.h b/input/input_driver.h index 2da3a98f1b..7b38221954 100644 --- a/input/input_driver.h +++ b/input/input_driver.h @@ -91,7 +91,7 @@ enum rarch_input_keyboard_ctl_state struct retro_keybind { bool valid; - unsigned id; + uint16_t id; enum msg_hash_enums enum_idx; enum retro_key key; @@ -120,7 +120,7 @@ struct retro_keybind typedef struct rarch_joypad_info { - unsigned joy_idx; + uint16_t joy_idx; const struct retro_keybind *auto_binds; float axis_threshold; } rarch_joypad_info_t;