changeset 1373:7cfc9d532e34

Fixed regression from VDP sync changes. Direct color DMA demos are now achieving stable sync again
author Michael Pavone <pavone@retrodev.com>
date Tue, 23 May 2017 23:17:24 -0700
parents d78ef6f4fba2
children 8f404b1fa572
files genesis.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/genesis.c	Tue May 23 23:00:32 2017 -0700
+++ b/genesis.c	Tue May 23 23:17:24 2017 -0700
@@ -306,6 +306,7 @@
 			}
 		} else if(vdp_port < 8) {
 			vdp_run_context_full(v_context, context->current_cycle);
+			before_cycle = v_context->cycles;
 			blocked = vdp_control_port_write(v_context, value);
 			if (blocked) {
 				while (blocked) {