GB Memory: Actually load latch time from savestate
Vicki Pfau vi@endrift.com
Sat, 12 Aug 2017 14:13:24 -0700
2 files changed,
2 insertions(+),
2 deletions(-)
M
CHANGES
→
CHANGES
@@ -19,6 +19,7 @@ - Qt: Fix timezone issues with time overrides
- Qt: Fix sprite export pausing game indefinitely (fixes mgba.io/i/841) - GB Video: Fix potential hang when ending mode 0 - GB Memory: Fix HDMA count starting in mode 0 (fixes mgba.io/i/855) + - GB Memory: Actually load latch time from savestate Misc: - Qt: Don't rebuild library view if style hasn't changed - SDL: Fix 2.0.5 build on macOS under some circumstances
M
src/gb/memory.c
→
src/gb/memory.c
@@ -708,8 +708,7 @@ GBMBCSwitchBank0(gb, memory->currentBank >> memory->mbcState.mbc1.multicartStride);
} break; case GB_MBC3_RTC: - // TODO? - //LOAD_64LE(gb->memory.rtcLastLatch, 0, &state->memory.rtc.lastLatch); + LOAD_64LE(gb->memory.rtcLastLatch, 0, &state->memory.rtc.lastLatch); break; case GB_MBC7: memory->mbcState.mbc7.state = state->memory.mbc7.state;