diff vdp.c @ 1019:e34334e6c682

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
author Michael Pavone <pavone@retrodev.com>
date Mon, 02 May 2016 23:08:20 -0700
parents 1dc749c9c0d9
children 4263dc9cf86d
line wrap: on
line diff
--- a/vdp.c	Mon May 02 22:20:19 2016 -0700
+++ b/vdp.c	Mon May 02 23:08:20 2016 -0700
@@ -518,7 +518,7 @@
 		context->cd &= 0xF;
 	}
 }
-#include <assert.h>
+
 void write_vram_byte(vdp_context *context, uint16_t address, uint8_t value)
 {
 	if (!(address & 4)) {