GBA Memory: Fix potential DMA issue when loading a savestate

This commit is contained in:
Jeffrey Pfau 2015-06-04 23:37:42 -07:00
parent 688fcbb89c
commit 855923e4b0
2 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ Bugfixes:
- GBA: Check for improperly sized savestates when loading
- GBA: Check for savestates made from differently sized ROMs
- GBA Video: Fix out-of-bounds tiles in mosaic
- GBA Memory: Fix potential DMA issue when loading a savestate
Misc:
- Qt: Handle saving input settings better
- Debugger: Free watchpoints in addition to breakpoints

View File

@ -704,5 +704,6 @@ void GBAIODeserialize(struct GBA* gba, const struct GBASerializedState* state) {
gba->timersEnabled |= 1 << i;
}
}
GBAMemoryUpdateDMAs(gba, 0);
GBAHardwareDeserialize(&gba->memory.hw, state);
}