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.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vdp.h') diff --git a/vdp.h b/vdp.h index 59b8b0b..7812ee1 100644 --- a/vdp.h +++ b/vdp.h @@ -204,6 +204,7 @@ void vdp_print_reg_explain(vdp_context * context); void latch_mode(vdp_context * context); uint32_t vdp_cycles_to_frame_end(vdp_context * context); uint32_t vdp_frame_end_line(vdp_context *context); +void write_vram_byte(vdp_context *context, uint16_t address, uint8_t value); extern int32_t color_map[1 << 12]; -- cgit v1.2.3