all repos — mgba @ 7e5eada69baa4d29c56c6e45654306efae11a4ab

mGBA Game Boy Advance Emulator

Mark more registers as safe to read
Jeffrey Pfau jeffrey@endrift.com
Sun, 20 Oct 2013 18:14:04 -0700
commit

7e5eada69baa4d29c56c6e45654306efae11a4ab

parent

ddc1034d42a2eba9cc367ecddc331012a206bc6c

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

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

@@ -292,6 +292,9 @@ case REG_BG0CNT:

case REG_BG1CNT: case REG_BG2CNT: case REG_BG3CNT: + case REG_WININ: + case REG_WINOUT: + case REG_BLDCNT: case REG_SOUND1CNT_LO: case REG_SOUND1CNT_HI: case REG_SOUND1CNT_X:

@@ -302,6 +305,8 @@ case REG_SOUND3CNT_HI:

case REG_SOUND3CNT_X: case REG_SOUND4CNT_LO: case REG_SOUND4CNT_HI: + case REG_SOUNDCNT_LO: + case REG_SOUNDCNT_HI: case REG_DMA0CNT_HI: case REG_DMA1CNT_HI: case REG_DMA2CNT_HI: