Mercurial > repos > blastem
diff vdp.h @ 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 | bf63cbf1d7bb |
children | 1a66d5165ea7 |
line wrap: on
line diff
--- a/vdp.h Mon May 02 22:20:19 2016 -0700 +++ b/vdp.h Mon May 02 23:08:20 2016 -0700 @@ -204,6 +204,7 @@ 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];