diff vdp.c @ 1971:80920c21bb52

Add an event log soft flush and call it twice per frame in between hard flushes to netplay latency when there are insufficient hardware updates to flush packets in the middle of a frame
author Michael Pavone <pavone@retrodev.com>
date Fri, 08 May 2020 11:40:30 -0700
parents ba06346611a1
children 6b9871d3d70d
line wrap: on
line diff
--- a/vdp.c	Fri May 08 00:26:34 2020 -0700
+++ b/vdp.c	Fri May 08 11:40:30 2020 -0700
@@ -2118,8 +2118,6 @@
 			context->pushed_frame = 1;
 			context->fb = NULL;
 		}
-		//TODO: Check whether this happens before or after the cycle increment
-		event_flush(context->cycles);
 		vdp_update_per_frame_debug(context);
 		context->h40_lines = 0;
 		context->frame++;