summaryrefslogtreecommitdiff
path: root/vdp.c
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.c
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.c')
-rw-r--r--vdp.c2
1 files changed, 1 insertions, 1 deletions
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 <assert.h>
+
void write_vram_byte(vdp_context *context, uint16_t address, uint8_t value)
{
if (!(address & 4)) {