From b31a9b47266bf4ea531cd43f96dc2e666948f175 Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Fri, 8 May 2020 11:40:30 -0700 Subject: 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 --- vdp.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'vdp.c') diff --git a/vdp.c b/vdp.c index 8138ec6..f1d1065 100644 --- a/vdp.c +++ b/vdp.c @@ -2118,8 +2118,6 @@ static void advance_output_line(vdp_context *context) 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++; -- cgit v1.2.3