Mercurial > repos > blastem
diff genesis.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 | c3c62dbf1ceb |
children | a7b753e260a2 8b2ef428d1aa |
line wrap: on
line diff
--- a/genesis.h Fri May 08 00:26:34 2020 -0700 +++ b/genesis.h Fri May 08 11:40:30 2020 -0700 @@ -51,6 +51,9 @@ 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];