aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/psxdma.c
diff options
context:
space:
mode:
authornotaz2011-02-04 15:51:42 +0200
committernotaz2011-02-04 15:53:07 +0200
commit916a765bb0a5516ce681c83f479c668b0ef8473f (patch)
tree527ff83e234dc4d2bbfd1d1efaa99f1f354d20d0 /libpcsxcore/psxdma.c
parentfd99c4154af2d13702f499360f69756b1dfc48a4 (diff)
downloadpcsx_rearmed-916a765bb0a5516ce681c83f479c668b0ef8473f.tar.gz
pcsx_rearmed-916a765bb0a5516ce681c83f479c668b0ef8473f.tar.bz2
pcsx_rearmed-916a765bb0a5516ce681c83f479c668b0ef8473f.zip
dma: change timing back to 1.92 levels
fixes X-Files, we'll see what it breaks
Diffstat (limited to 'libpcsxcore/psxdma.c')
-rw-r--r--libpcsxcore/psxdma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpcsxcore/psxdma.c b/libpcsxcore/psxdma.c
index b7d6d6a..1274d93 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