all repos — mgba @ 6d5d11b0748b3cf885b59ca6600abd1daf291d71

mGBA Game Boy Advance Emulator

GBA SIO: Make sure to deinit the normal-mode driver
Jeffrey Pfau jeffrey@endrift.com
Sun, 16 Aug 2015 19:37:12 -0700
commit

6d5d11b0748b3cf885b59ca6600abd1daf291d71

parent

1c7da12ddb5dd49d7ee3d10fed780051ecbce2ec

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

jump to
M src/gba/sio.csrc/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) {