all repos — mgba @ 3422527d5a1a71b4b4c9a99f723e034b2de91b53

mGBA Game Boy Advance Emulator

Read SIO registers from sio field
Jeffrey Pfau jeffrey@endrift.com
Wed, 05 Feb 2014 02:02:13 -0800
commit

3422527d5a1a71b4b4c9a99f723e034b2de91b53

parent

a2a3f317b5d393d5f14865b5233aef9adf864787

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M src/gba/gba-io.csrc/gba/gba-io.c

@@ -375,6 +375,11 @@ return 0x3FF ^ *gba->keySource;

} 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: