GBA SIO: Make sure to deinit the normal-mode driver

This commit is contained in:
Jeffrey Pfau 2015-08-16 19:37:12 -07:00
parent 1c7da12ddb
commit 6d5d11b074
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ void GBASIODeinit(struct GBASIO* sio) {
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) {