mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 15:27:46 -04:00
core, fix for vdp save/load regression
This commit is contained in:
parent
14ebd37838
commit
fc7ce3cc92
1 changed files with 1 additions and 1 deletions
|
@ -1165,7 +1165,7 @@ void PicoVideoLoad(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// fake entries in the FIFO if there are outstanding transfers
|
// fake entries in the FIFO if there are outstanding transfers
|
||||||
vf->fifo_ql = vf->fifo_qx = vf->fifo_total = 0;
|
vf->fifo_ql = vf->fifo_qx = vf->fifo_cnt = vf->fifo_total = 0;
|
||||||
if (pv->fifo_cnt) {
|
if (pv->fifo_cnt) {
|
||||||
int wc = (pv->fifo_cnt + b) >> b;
|
int wc = (pv->fifo_cnt + b) >> b;
|
||||||
pv->status |= PVS_FIFORUN|PVS_CPUWR;
|
pv->status |= PVS_FIFORUN|PVS_CPUWR;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue