summaryrefslogtreecommitdiff
path: root/libpcsxcore/psxdma.h
diff options
context:
space:
mode:
authorSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-10-07 18:52:18 +0000
committerSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-10-07 18:52:18 +0000
commit1a8ed308f320fac97b8c3dbc549b92c5b1d0c642 (patch)
tree64537f08f78d4ea0c18a0ae133cdf92f0bdd4189 /libpcsxcore/psxdma.h
parentaac9f1d0588286845f627cf2e564f1ec850d8505 (diff)
Wild 9: cdrom, r3000a, dma
- give Repplay its own interrupt handler - add DMA3 busy times - fixes music git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@58184 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/psxdma.h')
-rw-r--r--libpcsxcore/psxdma.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libpcsxcore/psxdma.h b/libpcsxcore/psxdma.h
index d356995d..63618ada 100644
--- a/libpcsxcore/psxdma.h
+++ b/libpcsxcore/psxdma.h
@@ -59,6 +59,12 @@ extern "C" {
psxRegs.intCycle[PSXINT_GPUOTCDMA].sCycle = psxRegs.cycle; \
}
+#define CDRDMA_INT(eCycle) { \
+ psxRegs.interrupt |= (1 << PSXINT_CDRDMA); \
+ psxRegs.intCycle[PSXINT_CDRDMA].cycle = eCycle; \
+ psxRegs.intCycle[PSXINT_CDRDMA].sCycle = psxRegs.cycle; \
+}
+
/*
DMA5 = N/A (PIO)
*/
@@ -69,6 +75,7 @@ void psxDma6(u32 madr, u32 bcr, u32 chcr);
void spuInterrupt();
void mdec0Interrupt();
void gpuotcInterrupt();
+void cdrDmaInterrupt();
#ifdef __cplusplus
}