summaryrefslogtreecommitdiff
path: root/event_log.h
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2020-05-08 11:40:30 -0700
committerMichael Pavone <pavone@retrodev.com>2020-05-08 11:40:30 -0700
commitb31a9b47266bf4ea531cd43f96dc2e666948f175 (patch)
treefdf3ac4e2cafaed2158d1295d30e589e9e416d5f /event_log.h
parentfd634d54cddc7419df08949f39fc50e4275ee8f7 (diff)
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
Diffstat (limited to 'event_log.h')
-rw-r--r--event_log.h1
1 files changed, 1 insertions, 0 deletions
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);