mirror of https://github.com/mgba-emu/mgba.git
Mark BG*CNT registers as safe to read
This commit is contained in:
parent
0120ea93a5
commit
f4a1e994d6
|
@ -279,6 +279,10 @@ uint16_t GBAIORead(struct GBA* gba, uint32_t address) {
|
||||||
return 0;
|
return 0;
|
||||||
case REG_DISPCNT:
|
case REG_DISPCNT:
|
||||||
case REG_VCOUNT:
|
case REG_VCOUNT:
|
||||||
|
case REG_BG0CNT:
|
||||||
|
case REG_BG1CNT:
|
||||||
|
case REG_BG2CNT:
|
||||||
|
case REG_BG3CNT:
|
||||||
case REG_DMA0CNT_HI:
|
case REG_DMA0CNT_HI:
|
||||||
case REG_DMA1CNT_HI:
|
case REG_DMA1CNT_HI:
|
||||||
case REG_DMA2CNT_HI:
|
case REG_DMA2CNT_HI:
|
||||||
|
|
Loading…
Reference in New Issue