mirror of https://github.com/mgba-emu/mgba.git
GB Memory: Actually load latch time from savestate
This commit is contained in:
parent
e80a241748
commit
86d094100c
1
CHANGES
1
CHANGES
|
@ -19,6 +19,7 @@ Bugfixes:
|
||||||
- Qt: Fix sprite export pausing game indefinitely (fixes mgba.io/i/841)
|
- Qt: Fix sprite export pausing game indefinitely (fixes mgba.io/i/841)
|
||||||
- GB Video: Fix potential hang when ending mode 0
|
- 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: Fix HDMA count starting in mode 0 (fixes mgba.io/i/855)
|
||||||
|
- GB Memory: Actually load latch time from savestate
|
||||||
Misc:
|
Misc:
|
||||||
- Qt: Don't rebuild library view if style hasn't changed
|
- Qt: Don't rebuild library view if style hasn't changed
|
||||||
- SDL: Fix 2.0.5 build on macOS under some circumstances
|
- SDL: Fix 2.0.5 build on macOS under some circumstances
|
||||||
|
|
|
@ -708,8 +708,7 @@ void GBMemoryDeserialize(struct GB* gb, const struct GBSerializedState* state) {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case GB_MBC3_RTC:
|
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;
|
break;
|
||||||
case GB_MBC7:
|
case GB_MBC7:
|
||||||
memory->mbcState.mbc7.state = state->memory.mbc7.state;
|
memory->mbcState.mbc7.state = state->memory.mbc7.state;
|
||||||
|
|
Loading…
Reference in New Issue