all repos — mgba @ 451c16f4cb00ebb8f03d7fad4fa7b7d46bc60fe5

mGBA Game Boy Advance Emulator

Fix overwriting DISPSTAT with fixed values for the lower bits
Jeffrey Pfau jeffrey@endrift.com
Wed, 16 Oct 2013 22:23:32 -0700
commit

451c16f4cb00ebb8f03d7fad4fa7b7d46bc60fe5

parent

3edb2da58dbb4a4f08be5657b40384d87a2f7018

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

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

@@ -15,6 +15,7 @@ } else {

switch (address) { // Video case REG_DISPSTAT: + value &= 0xFFF8; GBAVideoWriteDISPSTAT(&gba->video, value); break;