mirror of https://github.com/stella-emu/stella.git
libretro: fix warning for unhandled controllers.
This commit is contained in:
parent
4b5c7eb7f2
commit
d377d2a9a2
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue