all repos — mgba @ 08bd23031bb201eb1d2b55414264444bb01dcef9

mGBA Game Boy Advance Emulator

Fix missing termination in call to SET_INPUT_DESCRIPTORS
Garrett Brown themagnificentmrb@gmail.com
Wed, 02 Nov 2016 15:35:30 -0700
commit

08bd23031bb201eb1d2b55414264444bb01dcef9

parent

95fda83d8b5ad8c0d9ffd9d24fb14253fca1548c

2 files changed, 3 insertions(+), 1 deletions(-)

jump to
M CHANGESCHANGES

@@ -1,5 +1,6 @@

0.5.2: (Future) Bugfixes: + - Libretro: Fix unterminated SET_INPUT_DESCRIPTORS - GBA Memory: Fix misaligned BIOS reads - GBA BIOS: Fix MidiKey2Freq BIOS reads - GBA BIOS: Fix invalid CpuSet not setting BIOS prefetch
M src/platform/libretro/libretro.csrc/platform/libretro/libretro.c

@@ -177,7 +177,8 @@ { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_DOWN, "Down" },

{ 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R, "R" }, { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_L, "L" }, { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R3, "Brighten Solar Sensor" }, - { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_L3, "Darken Solar Sensor" } + { 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_L3, "Darken Solar Sensor" }, + { 0 } }; environCallback(RETRO_ENVIRONMENT_SET_INPUT_DESCRIPTORS, &inputDescriptors);