gpu: partially revert 4a15db3fc8
authornotaz <notasas@gmail.com>
Tue, 28 Jan 2025 21:10:41 +0000 (23:10 +0200)
committernotaz <notasas@gmail.com>
Tue, 28 Jan 2025 21:10:41 +0000 (23:10 +0200)
broke busy after dma
libretro/pcsx_rearmed#873

plugins/gpulib/gpu.c

index 4c9b7fa..86cf584 100644 (file)
@@ -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;