mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Merge pull request #6565 from fr500/master
remap-redux: try to fix more warnings
This commit is contained in:
commit
ff18a55f06
@ -618,7 +618,7 @@ static void menu_action_setting_disp_set_label_input_desc_kbd(
|
||||
remap_id =
|
||||
settings->uints.input_keymapper_ids[offset][id];
|
||||
|
||||
for (key_id = 0; key_id < RARCH_MAX_KEYS; key_id++)
|
||||
for (key_id = 0; key_id < RARCH_MAX_KEYS - 1; key_id++)
|
||||
{
|
||||
if(remap_id == key_descriptors[key_id].key)
|
||||
break;
|
||||
|
@ -394,8 +394,7 @@ static int action_left_input_desc_kbd(unsigned type, const char *label,
|
||||
remap_id =
|
||||
settings->uints.input_keymapper_ids[offset][id];
|
||||
|
||||
for (key_id = 0; key_id < RARCH_MAX_KEYS +
|
||||
MENU_SETTINGS_INPUT_DESC_KBD_BEGIN; key_id++)
|
||||
for (key_id = 0; key_id < RARCH_MAX_KEYS - 1; key_id++)
|
||||
{
|
||||
if(remap_id == key_descriptors[key_id].key)
|
||||
break;
|
||||
|
@ -120,8 +120,7 @@ int action_right_input_desc_kbd(unsigned type, const char *label,
|
||||
remap_id =
|
||||
settings->uints.input_keymapper_ids[offset][id];
|
||||
|
||||
for (key_id = 0; key_id < MENU_SETTINGS_INPUT_DESC_KBD_END -
|
||||
MENU_SETTINGS_INPUT_DESC_KBD_BEGIN; key_id++)
|
||||
for (key_id = 0; key_id < RARCH_MAX_KEYS - 1; key_id++)
|
||||
{
|
||||
if(remap_id == key_descriptors[key_id].key)
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user