summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-12-29 20:51:44 +0000
committerSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-12-29 20:51:44 +0000
commita10e3dc15207327e6c055ad3eb7f96873b448aba (patch)
treec56511df3876cd9883ae90acf097a93a8ca6ff51 /libpcsxcore
parentdca71238dd551eb494928d867d304226120175b5 (diff)
downloadpcsxr-a10e3dc15207327e6c055ad3eb7f96873b448aba.tar.gz
hopkat
-cdrom- cdda stop irq -Magic the Gathering- looping territory cdda git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61590 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/cdrom.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c
index c68e8c64..d33be570 100644
--- a/libpcsxcore/cdrom.c
+++ b/libpcsxcore/cdrom.c
@@ -556,6 +556,16 @@ void cdrPlayInterrupt()
*/
if( cdr.CurTrack < btoi( subq->TrackNumber ) ) {
+ // Magic the Gathering
+ // - looping territory cdda
+
+ // ...?
+ //cdr.ResultReady = 1;
+ //cdr.Stat = DataReady;
+ cdr.Stat = DataEnd;
+ psxHu32ref(0x1070) |= SWAP32((u32)0x4);
+
+
StopCdda();
}
} else {
@@ -573,6 +583,16 @@ void cdrPlayInterrupt()
temp_next[2] = cdr.ResultTD[0];
if( msf2sec(temp_cur) >= msf2sec( temp_next ) ) {
+ // Magic the Gathering
+ // - looping territory cdda
+
+ // ...?
+ //cdr.ResultReady = 1;
+ //cdr.Stat = DataReady;
+ cdr.Stat = DataEnd;
+ psxHu32ref(0x1070) |= SWAP32((u32)0x4);
+
+
StopCdda();
cdr.CurTrack++;