mirror of https://github.com/mgba-emu/mgba.git
GBA SIO: Make sure to deinit the normal-mode driver
This commit is contained in:
parent
1c7da12ddb
commit
6d5d11b074
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue