mirror of https://github.com/mgba-emu/mgba.git
GBA SIO: Allow externally-clocked NORMAL transfers (fixes #3360)
This commit is contained in:
parent
a9bddb92e3
commit
1eb130a28b
|
@ -211,11 +211,7 @@ void GBASIOWriteSIOCNT(struct GBASIO* sio, uint16_t value) {
|
||||||
sio->rcnt = GBASIORegisterRCNTFillSc(sio->rcnt);
|
sio->rcnt = GBASIORegisterRCNTFillSc(sio->rcnt);
|
||||||
}
|
}
|
||||||
if (GBASIONormalIsStart(value) && !GBASIONormalIsStart(sio->siocnt)) {
|
if (GBASIONormalIsStart(value) && !GBASIONormalIsStart(sio->siocnt)) {
|
||||||
if (GBASIONormalIsSc(value)) {
|
|
||||||
_startTransfer(sio);
|
_startTransfer(sio);
|
||||||
} else {
|
|
||||||
// TODO
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue