From: notaz Date: Tue, 28 Jan 2025 21:10:41 +0000 (+0200) Subject: gpu: partially revert 4a15db3fc8 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cab87b7e82d40292fe2d0357b1f5ba9b550fed40;p=pcsx_rearmed.git gpu: partially revert 4a15db3fc8 broke busy after dma libretro/pcsx_rearmed#873 --- diff --git a/plugins/gpulib/gpu.c b/plugins/gpulib/gpu.c index 4c9b7fab..86cf5846 100644 --- a/plugins/gpulib/gpu.c +++ b/plugins/gpulib/gpu.c @@ -805,8 +805,7 @@ long GPUdmaChain(uint32_t *rambase, uint32_t start_addr, addr = LE32TOH(list[0]) & 0xffffff; preload(rambase + (addr & 0x1fffff) / 4); - cpu_cycles_sum += 10 + cpu_cycles_last; - cpu_cycles_last = 0; + cpu_cycles_sum += 10; if (len > 0) cpu_cycles_sum += 5 + len;