aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore')
-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