pub const VSYNC_LINES: i64 = 3;
[emu: Mednafen vce.cpp vblank_counter = vblank ? 4095 : ...] the vertical sync is the last three lines of a frame (4095 = 3 x 1365). [hw: pcetech 7] “3 lines for the sync area”.
vblank_counter = vblank ? 4095 : ...