From fc7ce3cc92c78ef55991e81dc281f9dc32dcb5e0 Mon Sep 17 00:00:00 2001 From: kub Date: Fri, 7 Jan 2022 07:32:37 +0100 Subject: [PATCH] core, fix for vdp save/load regression --- pico/videoport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2