diff event_log.h @ 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 9c01945b5d20
children a8af8d898a7c
line wrap: on
line diff
--- a/event_log.h	Fri May 08 00:26:34 2020 -0700
+++ b/event_log.h	Fri May 08 11:40:30 2020 -0700
@@ -48,6 +48,7 @@
 void event_vram_byte(uint32_t cycle, uint16_t address, uint8_t byte, uint8_t auto_inc);
 void event_state(uint32_t cycle, serialize_buffer *state);
 void event_flush(uint32_t cycle);
+void event_soft_flush(uint32_t cycle);
 
 void init_event_reader(event_reader *reader, uint8_t *data, size_t size);
 void init_event_reader_tcp(event_reader *reader, char *address, char *port);