all repos — mgba @ f5663675a5ac78c2927fe0796df92f72be421535

mGBA Game Boy Advance Emulator

GB I/O: Fix STAT writing
Jeffrey Pfau jeffrey@endrift.com
Sat, 25 Jun 2016 01:34:13 -0700
commit

f5663675a5ac78c2927fe0796df92f72be421535

parent

74caccd6df2298b0d123c677fabc5b751251156c

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

jump to
M src/gb/io.csrc/gb/io.c

@@ -369,6 +369,7 @@ GBVideoWritePalette(&gb->video, address, value);

break; case REG_STAT: GBVideoWriteSTAT(&gb->video, value); + value = gb->video.stat; break; case 0x50: if (gb->memory.romBase != gb->memory.rom) {