From: kub Date: Fri, 7 Jan 2022 06:32:37 +0000 (+0100) Subject: core, fix for vdp save/load regression X-Git-Tag: v2.00~376 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc7ce3cc92c78ef55991e81dc281f9dc32dcb5e0;p=picodrive.git core, fix for vdp save/load regression --- diff --git a/pico/videoport.c b/pico/videoport.c index 8269d89a..1ecb3117 100644 --- a/pico/videoport.c +++ b/pico/videoport.c @@ -1165,7 +1165,7 @@ void PicoVideoLoad(void) } // 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) { int wc = (pv->fifo_cnt + b) >> b; pv->status |= PVS_FIFORUN|PVS_CPUWR;