mirror of https://github.com/mgba-emu/mgba.git
Make DriverSet setting read in normal driver
This commit is contained in:
parent
6451aeaefc
commit
eb5580f719
|
@ -53,6 +53,9 @@ void GBASIODeinit(struct GBASIO* sio) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void GBASIOSetDriverSet(struct GBASIO* sio, struct GBASIODriverSet* drivers) {
|
void GBASIOSetDriverSet(struct GBASIO* sio, struct GBASIODriverSet* drivers) {
|
||||||
|
if (drivers->normal) {
|
||||||
|
GBASIOSetDriver(sio, drivers->normal, SIO_NORMAL_8);
|
||||||
|
}
|
||||||
if (drivers->multiplayer) {
|
if (drivers->multiplayer) {
|
||||||
GBASIOSetDriver(sio, drivers->multiplayer, SIO_MULTI);
|
GBASIOSetDriver(sio, drivers->multiplayer, SIO_MULTI);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue