GBA SIO: Make sure to deinit the normal-mode driver
Jeffrey Pfau jeffrey@endrift.com
Sun, 16 Aug 2015 19:37:12 -0700
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
src/gba/sio.c
→
src/gba/sio.c
@@ -65,6 +65,9 @@ }
if (sio->drivers.joybus && sio->drivers.joybus->deinit) { sio->drivers.joybus->deinit(sio->drivers.joybus); } + if (sio->drivers.normal && sio->drivers.normal->deinit) { + sio->drivers.normal->deinit(sio->drivers.normal); + } } void GBASIOReset(struct GBASIO* sio) {