From dd54326136cdefda96bce7cdff31d0938162377b Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Mon, 2 May 2016 23:08:20 -0700 Subject: 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 --- vdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vdp.c') diff --git a/vdp.c b/vdp.c index e86407e..2e35afe 100644 --- a/vdp.c +++ b/vdp.c @@ -518,7 +518,7 @@ void vdp_advance_dma(vdp_context * context) context->cd &= 0xF; } } -#include + void write_vram_byte(vdp_context *context, uint16_t address, uint8_t value) { if (!(address & 4)) { -- cgit v1.2.3