libretro: fix warning for unhandled controllers.

This commit is contained in:
Stephen Anthony 2019-05-17 11:20:12 -02:30
parent 4b5c7eb7f2
commit d377d2a9a2
1 changed files with 6 additions and 0 deletions

View File

@ -110,6 +110,9 @@ static void update_input()
EVENT(Event::JoystickZeroFire5, input_state_cb(pad, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_A));
EVENT(Event::JoystickZeroFire9, input_state_cb(pad, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_Y));
break;
default:
break;
}
pad++;
@ -161,6 +164,9 @@ static void update_input()
EVENT(Event::JoystickOneFire5, input_state_cb(pad, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_A));
EVENT(Event::JoystickOneFire9, input_state_cb(pad, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_Y));
break;
default:
break;
}