Read SIO registers from sio field

This commit is contained in:
Jeffrey Pfau 2014-02-05 02:02:13 -08:00
parent a2a3f317b5
commit 3422527d5a
1 changed files with 5 additions and 0 deletions

View File

@ -375,6 +375,11 @@ uint16_t GBAIORead(struct GBA* gba, uint32_t address) {
}
break;
case REG_SIOCNT:
return gba->sio.siocnt;
case REG_RCNT:
return gba->sio.rcnt;
case REG_DMA0CNT_LO:
case REG_DMA1CNT_LO:
case REG_DMA2CNT_LO: