Browse Source

vdp fifo, adjust latency delay

kub 3 years ago
parent
commit
4d4bea1c5f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pico/videoport.c

+ 1 - 1
pico/videoport.c

@@ -263,7 +263,7 @@ int PicoVideoFIFOWrite(int count, int flags, unsigned sr_mask,unsigned sr_flags)
 
     // update FIFO state if it was empty
     if (!(pv->status & PVS_FIFORUN)) {
-      vf->fifo_slot = Cyc2Sl(vf, lc+8); // FIFO latency ~3 vdp slots
+      vf->fifo_slot = Cyc2Sl(vf, lc+9); // FIFO latency ~3 vdp slots
       pv->status |= PVS_FIFORUN;
       pv->fifo_cnt = count << (flags & FQ_BYTE);
     }