diff options
author | Michael Pavone <pavone@retrodev.com> | 2020-05-08 11:40:30 -0700 |
---|---|---|
committer | Michael Pavone <pavone@retrodev.com> | 2020-05-08 11:40:30 -0700 |
commit | b31a9b47266bf4ea531cd43f96dc2e666948f175 (patch) | |
tree | fdf3ac4e2cafaed2158d1295d30e589e9e416d5f /genesis.h | |
parent | fd634d54cddc7419df08949f39fc50e4275ee8f7 (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 'genesis.h')
-rw-r--r-- | genesis.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -51,6 +51,9 @@ struct genesis_context { uint32_t int_latency_prev1; uint32_t int_latency_prev2; uint32_t reset_cycle; + uint32_t last_frame; + uint32_t last_flush_cycle; + uint32_t soft_flush_cycles; uint8_t bank_regs[8]; uint16_t z80_bank_reg; uint16_t tmss_lock[2]; |