diff --git a/src/gba/sio.c b/src/gba/sio.c index 259922a68..d1ea1ab42 100644 --- a/src/gba/sio.c +++ b/src/gba/sio.c @@ -123,7 +123,7 @@ void GBASIOSetDriver(struct GBASIO* sio, struct GBASIODriver* driver, enum GBASI } } } - if (sio->mode == mode) { + if (sio->activeDriver == *driverLoc) { sio->activeDriver = driver; if (driver && driver->load) { driver->load(driver);