mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
vdp fifo, adjust latency delay
This commit is contained in:
parent
bcc34f2cf8
commit
4d4bea1c5f
1 changed files with 1 additions and 1 deletions
|
@ -263,7 +263,7 @@ int PicoVideoFIFOWrite(int count, int flags, unsigned sr_mask,unsigned sr_flags)
|
||||||
|
|
||||||
// update FIFO state if it was empty
|
// update FIFO state if it was empty
|
||||||
if (!(pv->status & PVS_FIFORUN)) {
|
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->status |= PVS_FIFORUN;
|
||||||
pv->fifo_cnt = count << (flags & FQ_BYTE);
|
pv->fifo_cnt = count << (flags & FQ_BYTE);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue