GB Serialize: Fix clearing timing when loading state

This commit is contained in:
Vicki Pfau 2017-03-05 17:54:36 -08:00
parent ad7cb650dc
commit 40ff1ea0c4
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ bool GBDeserialize(struct GB* gb, const struct GBSerializedState* state) {
if (error) {
return false;
}
gb->timing.root = NULL;
gb->cpu->a = state->cpu.a;
gb->cpu->f.packed = state->cpu.f;