From f4a1e994d683b2098baa063b2c48eb6454b82b5b Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Tue, 15 Oct 2013 21:55:28 -0700 Subject: [PATCH] Mark BG*CNT registers as safe to read --- src/gba/gba-io.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gba/gba-io.c b/src/gba/gba-io.c index 34acdaf27..07d332f30 100644 --- a/src/gba/gba-io.c +++ b/src/gba/gba-io.c @@ -279,6 +279,10 @@ uint16_t GBAIORead(struct GBA* gba, uint32_t address) { 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: