X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=blobdiff_plain;f=libpcsxcore%2Fpsxdma.h;h=6736cdb22b19107295d2c46ccb418f28dd8d73bf;hp=0db6533fdaf444865a89d62b8904f811f797cdad;hb=654e8cfb205bebc40b26761a900db354b4920931;hpb=ef79bbde537d6b9c745a7d86cb9df1d04c35590d diff --git a/libpcsxcore/psxdma.h b/libpcsxcore/psxdma.h index 0db6533f..6736cdb2 100644 --- a/libpcsxcore/psxdma.h +++ b/libpcsxcore/psxdma.h @@ -33,18 +33,21 @@ extern "C" { psxRegs.interrupt |= 0x01000000; \ psxRegs.intCycle[3 + 24 + 1] = eCycle; \ psxRegs.intCycle[3 + 24] = psxRegs.cycle; \ + new_dyna_set_event(3, eCycle); \ } #define SPUDMA_INT(eCycle) { \ psxRegs.interrupt |= 0x04000000; \ psxRegs.intCycle[1 + 24 + 1] = eCycle; \ psxRegs.intCycle[1 + 24] = psxRegs.cycle; \ + new_dyna_set_event(5, eCycle); \ } #define MDECOUTDMA_INT(eCycle) { \ psxRegs.interrupt |= 0x02000000; \ psxRegs.intCycle[5 + 24 + 1] = eCycle; \ psxRegs.intCycle[5 + 24] = psxRegs.cycle; \ + new_dyna_set_event(4, eCycle); \ } void psxDma2(u32 madr, u32 bcr, u32 chcr);