X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fpsxdma.c;fp=libpcsxcore%2Fpsxdma.c;h=e3655b5e05e5e4e76713e064424c62205f6bb5f5;hp=fa8f33940c09a4a1b9314ee03758d12544638825;hb=f926a62f27a3a513b8a4594728a8d6ace65920a3;hpb=f993417941fb79ae2f22f72e0dc131cd3710a3af 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: