all repos — mgba @ a8d4836a39527dca3a16c66542c42c4a77bb3a4d

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

a8d4836a39527dca3a16c66542c42c4a77bb3a4d

parent

10461a07b2b2dc3e403d5c8f1415f905c3db2d2e

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

jump to
M CHANGESCHANGES

@@ -7,6 +7,7 @@ - Sprite viewer

- Debugging console - Improved memory viewer Bugfixes: + - Libretro: Fix unterminated SET_INPUT_DESCRIPTORS - LR35902: Fix core never exiting with certain event patterns - GB Timer: Improve DIV reset behavior - GBA Memory: Fix misaligned BIOS reads
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);