mirror of https://github.com/mgba-emu/mgba.git
GB Serialize: Fix clearing timing when loading state
This commit is contained in:
parent
ad7cb650dc
commit
40ff1ea0c4
src/gb
|
@ -144,6 +144,7 @@ bool GBDeserialize(struct GB* gb, const struct GBSerializedState* state) {
|
||||||
if (error) {
|
if (error) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
gb->timing.root = NULL;
|
||||||
|
|
||||||
gb->cpu->a = state->cpu.a;
|
gb->cpu->a = state->cpu.a;
|
||||||
gb->cpu->f.packed = state->cpu.f;
|
gb->cpu->f.packed = state->cpu.f;
|
||||||
|
|
Loading…
Reference in New Issue