From 916a765bb0a5516ce681c83f479c668b0ef8473f Mon Sep 17 00:00:00 2001 From: notaz Date: Fri, 4 Feb 2011 15:51:42 +0200 Subject: [PATCH] dma: change timing back to 1.92 levels fixes X-Files, we'll see what it breaks --- libpcsxcore/psxdma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libpcsxcore/psxdma.c b/libpcsxcore/psxdma.c index b7d6d6a0..1274d930 100644 --- a/libpcsxcore/psxdma.c +++ b/libpcsxcore/psxdma.c @@ -140,7 +140,7 @@ void psxDma2(u32 madr, u32 bcr, u32 chcr) { // GPU psxCpu->Clear(madr, size); // already 32-bit word size ((size * 4) / 4) - GPUDMA_INT(size); + GPUDMA_INT(size / 4); return; case 0x01000201: // mem2vram @@ -159,7 +159,7 @@ void psxDma2(u32 madr, u32 bcr, u32 chcr) { // GPU GPU_writeDataMem(ptr, size); // already 32-bit word size ((size * 4) / 4) - GPUDMA_INT(size); + GPUDMA_INT(size / 4); return; case 0x01000401: // dma chain -- 2.39.5