all repos — mgba @ 2b70e1714a1354d50013a532ba4e494815905c6e

mGBA Game Boy Advance Emulator

DS I/O: Mark DMACNT high bits readable
Vicki Pfau vi@endrift.com
Mon, 13 Mar 2017 16:01:01 -0700
commit

2b70e1714a1354d50013a532ba4e494815905c6e

parent

87867908b783827a08edc7fe0d38bfaf1c3c4121

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

jump to
M src/ds/io.csrc/ds/io.c

@@ -477,6 +477,10 @@ return DSIOReadKeyInput(ds);

case DS7_REG_EXTKEYIN: return DSIOReadExKeyInput(ds); case DS_REG_VCOUNT: + case DS_REG_DMA0CNT_HI: + case DS_REG_DMA1CNT_HI: + case DS_REG_DMA2CNT_HI: + case DS_REG_DMA3CNT_HI: case DS_REG_DMA0FILL_LO: case DS_REG_DMA0FILL_HI: case DS_REG_DMA1FILL_LO:

@@ -738,6 +742,10 @@ break;

case DS_REG_KEYINPUT: return DSIOReadKeyInput(ds); case DS_REG_VCOUNT: + case DS_REG_DMA0CNT_HI: + case DS_REG_DMA1CNT_HI: + case DS_REG_DMA2CNT_HI: + case DS_REG_DMA3CNT_HI: case DS_REG_DMA0FILL_LO: case DS_REG_DMA0FILL_HI: case DS_REG_DMA1FILL_LO: