Explorar o código

vdp fifo, adjust latency delay

kub %!s(int64=3) %!d(string=hai) anos
pai
achega
4d4bea1c5f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);
     }