Merge pull request #456 from garbear/fix-missing-terminator

Fix missing termination in call to SET_INPUT_DESCRIPTORS
This commit is contained in:
endrift 2016-11-02 17:41:36 -07:00 committed by GitHub
commit d772794bdc
2 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,7 @@ Features:
- 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

View File

@ -177,7 +177,8 @@ void retro_init(void) {
{ 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);