X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=libpcsxcore%2Fpsxdma.c;h=e3655b5e05e5e4e76713e064424c62205f6bb5f5;hb=a3d87cd770ffb9b5bcbf519683ec7f29d67794e6;hp=fa8f33940c09a4a1b9314ee03758d12544638825;hpb=db6e56b6bfb5bcdacc86150061861a74365331e0;p=pcsx_rearmed.git diff --git a/libpcsxcore/psxdma.c b/libpcsxcore/psxdma.c index fa8f3394..e3655b5e 100644 --- a/libpcsxcore/psxdma.c +++ b/libpcsxcore/psxdma.c @@ -67,7 +67,7 @@ void psxDma4(u32 madr, u32 bcr, u32 chcr) { // SPU // This should be much slower, like 12+ cycles/byte, it's like // that because the CPU runs too fast and fifo is not emulated. // See also set_dma_end(). - set_event(PSXINT_SPUDMA, words * 4); + set_event(PSXINT_SPUDMA, words * 4 * 4); return; case 0x01000200: //spu to cpu transfer @@ -78,7 +78,7 @@ void psxDma4(u32 madr, u32 bcr, u32 chcr) { // SPU psxCpu->Clear(madr, words_copy); HW_DMA4_MADR = SWAPu32(madr + words_copy * 4); - set_event(PSXINT_SPUDMA, words * 4); + set_event(PSXINT_SPUDMA, words * 4 * 4); return; default: