diff options
author | Michael Pavone <pavone@retrodev.com> | 2016-05-02 23:08:20 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2016-05-02 23:08:20 -0700 |
commit | dd54326136cdefda96bce7cdff31d0938162377b (patch) | |
tree | 4457090807eeef5faee0cdf50ab988ef750b3644 /vdp.c | |
parent | f6a58778f9123e15c17defe09423c40642b1cc7e (diff) |
Fix GST savestate loading to deal with SAT cache to fix sprite corruption on savestate load. Clear out Z80 native_pc so the Z80 state does not get hosed when loading a savestate while the emulator is already running
Diffstat (limited to 'vdp.c')
-rw-r--r-- | vdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -518,7 +518,7 @@ void vdp_advance_dma(vdp_context * context) context->cd &= 0xF; } } -#include <assert.h> + void write_vram_byte(vdp_context *context, uint16_t address, uint8_t value) { if (!(address & 4)) { |