comparison 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
comparison
equal deleted inserted replaced
1970:41b9509ede38 1971:80920c21bb52
49 uint32_t frame_end; 49 uint32_t frame_end;
50 uint32_t max_cycles; 50 uint32_t max_cycles;
51 uint32_t int_latency_prev1; 51 uint32_t int_latency_prev1;
52 uint32_t int_latency_prev2; 52 uint32_t int_latency_prev2;
53 uint32_t reset_cycle; 53 uint32_t reset_cycle;
54 uint32_t last_frame;
55 uint32_t last_flush_cycle;
56 uint32_t soft_flush_cycles;
54 uint8_t bank_regs[8]; 57 uint8_t bank_regs[8];
55 uint16_t z80_bank_reg; 58 uint16_t z80_bank_reg;
56 uint16_t tmss_lock[2]; 59 uint16_t tmss_lock[2];
57 uint16_t mapper_start_index; 60 uint16_t mapper_start_index;
58 uint8_t mapper_type; 61 uint8_t mapper_type;