summaryrefslogtreecommitdiff
path: root/vdp.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-05-02 23:08:20 -0700
committerMichael Pavone <pavone@retrodev.com>2016-05-02 23:08:20 -0700
commitdd54326136cdefda96bce7cdff31d0938162377b (patch)
tree4457090807eeef5faee0cdf50ab988ef750b3644 /vdp.h
parentf6a58778f9123e15c17defe09423c40642b1cc7e (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.h')
-rw-r--r--vdp.h1
1 files changed, 1 insertions, 0 deletions
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];