all repos — mgba @ f4a1e994d683b2098baa063b2c48eb6454b82b5b

mGBA Game Boy Advance Emulator

Mark BG*CNT registers as safe to read
Jeffrey Pfau jeffrey@endrift.com
Tue, 15 Oct 2013 21:55:28 -0700
commit

f4a1e994d683b2098baa063b2c48eb6454b82b5b

parent

0120ea93a54b2e9700b99fa785d079c1efe8dafe

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

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

@@ -279,6 +279,10 @@ // Write-only register

return 0; case REG_DISPCNT: case REG_VCOUNT: + case REG_BG0CNT: + case REG_BG1CNT: + case REG_BG2CNT: + case REG_BG3CNT: case REG_DMA0CNT_HI: case REG_DMA1CNT_HI: case REG_DMA2CNT_HI: