mirror of https://github.com/mgba-emu/mgba.git
DS I/O: Mark BGCNT registers as readable
This commit is contained in:
parent
858c9faedc
commit
5730b50ecb
1
CHANGES
1
CHANGES
|
@ -34,6 +34,7 @@ Misc:
|
||||||
- DS Video: Simplify VRAM mapping
|
- DS Video: Simplify VRAM mapping
|
||||||
- DS GX: Reject and log polygons that clip to more than 10 vertices
|
- DS GX: Reject and log polygons that clip to more than 10 vertices
|
||||||
- DS Core: Backport symbol loading changes from GBA core (fixes mgba.io/i/1834)
|
- DS Core: Backport symbol loading changes from GBA core (fixes mgba.io/i/1834)
|
||||||
|
- DS I/O: Mark BGCNT registers as readable
|
||||||
|
|
||||||
0.10.0: (Future)
|
0.10.0: (Future)
|
||||||
Features:
|
Features:
|
||||||
|
|
|
@ -770,6 +770,10 @@ uint16_t DS9IORead(struct DS* ds, uint32_t address) {
|
||||||
case DS_REG_KEYINPUT:
|
case DS_REG_KEYINPUT:
|
||||||
return DSIOReadKeyInput(ds);
|
return DSIOReadKeyInput(ds);
|
||||||
case DS_REG_VCOUNT:
|
case DS_REG_VCOUNT:
|
||||||
|
case DS9_REG_A_BG0CNT:
|
||||||
|
case DS9_REG_A_BG1CNT:
|
||||||
|
case DS9_REG_A_BG2CNT:
|
||||||
|
case DS9_REG_A_BG3CNT:
|
||||||
case DS_REG_DMA0CNT_HI:
|
case DS_REG_DMA0CNT_HI:
|
||||||
case DS_REG_DMA1CNT_HI:
|
case DS_REG_DMA1CNT_HI:
|
||||||
case DS_REG_DMA2CNT_HI:
|
case DS_REG_DMA2CNT_HI:
|
||||||
|
@ -896,6 +900,10 @@ uint16_t DS9IORead(struct DS* ds, uint32_t address) {
|
||||||
case DS9_REG_CLIPMTX_RESULT_1D:
|
case DS9_REG_CLIPMTX_RESULT_1D:
|
||||||
case DS9_REG_CLIPMTX_RESULT_1E:
|
case DS9_REG_CLIPMTX_RESULT_1E:
|
||||||
case DS9_REG_CLIPMTX_RESULT_1F:
|
case DS9_REG_CLIPMTX_RESULT_1F:
|
||||||
|
case DS9_REG_B_BG0CNT:
|
||||||
|
case DS9_REG_B_BG1CNT:
|
||||||
|
case DS9_REG_B_BG2CNT:
|
||||||
|
case DS9_REG_B_BG3CNT:
|
||||||
// Handled transparently by the registers
|
// Handled transparently by the registers
|
||||||
break;
|
break;
|
||||||
case DS_REG_AUXSPICNT:
|
case DS_REG_AUXSPICNT:
|
||||||
|
|
Loading…
Reference in New Issue