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 --- event_log.h | 1 + 1 file changed, 1 insertion(+) (limited to 'event_log.h') diff --git a/event_log.h b/event_log.h index 0e44288..cd9ac28 100644 --- a/event_log.h +++ b/event_log.h @@ -48,6 +48,7 @@ void event_vram_word(uint32_t cycle, uint32_t address, uint16_t value); 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); -- cgit v1.2.3