all repos — mgba @ 855923e4b03385fe22139ca25850be8b9953ad81

mGBA Game Boy Advance Emulator

GBA Memory: Fix potential DMA issue when loading a savestate
Jeffrey Pfau jeffrey@endrift.com
Thu, 04 Jun 2015 23:37:42 -0700
commit

855923e4b03385fe22139ca25850be8b9953ad81

parent

688fcbb89cd491cc07b4902b6f7912c7587243b8

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -38,6 +38,7 @@ - GBA: Check for corrupted savestates when loading

- 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
M src/gba/io.csrc/gba/io.c

@@ -704,5 +704,6 @@ if (gba->timers[i].enable) {

gba->timersEnabled |= 1 << i; } } + GBAMemoryUpdateDMAs(gba, 0); GBAHardwareDeserialize(&gba->memory.hw, state); }