all repos — mgba @ 129af691054cb1acffd9a2be9eb9f1dbf47f51df

mGBA Game Boy Advance Emulator

GB Serialize: Fix deserializing video STAT
Vicki Pfau vi@endrift.com
Wed, 02 Aug 2017 23:39:56 -0700
commit

129af691054cb1acffd9a2be9eb9f1dbf47f51df

parent

f26982e0139b313b670b82becb5e54cb87b05341

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

jump to
M CHANGESCHANGES

@@ -22,6 +22,7 @@ - GB Memory: Prevent accessing empty SRAM (fixes mgba.io/i/831)

- GB, GBA: Fix crashes when attempting to identify null VFiles - GB MBC: Fix RTC initialization (fixes mgba.io/i/825) - GB MBC: Fix RTC loading when file size is off + - GB Serialize: Fix deserializing video STAT Misc: - GBA Timer: Use global cycles for timers - GBA: Extend oddly-sized ROMs to full address space (fixes mgba.io/i/722)
M src/gb/io.csrc/gb/io.c

@@ -647,4 +647,5 @@ gb->video.renderer->writeVideoRegister(gb->video.renderer, REG_SCY, state->io[REG_SCY]);

gb->video.renderer->writeVideoRegister(gb->video.renderer, REG_SCX, state->io[REG_SCX]); gb->video.renderer->writeVideoRegister(gb->video.renderer, REG_WY, state->io[REG_WY]); gb->video.renderer->writeVideoRegister(gb->video.renderer, REG_WX, state->io[REG_WX]); + gb->video.stat = state->io[REG_STAT]; }