summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-02-10 16:21:30 +0000
committerSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-02-10 16:21:30 +0000
commit0d0c354caca3db41fec09e3ea471d31a2b7692be (patch)
treefd00f448aa22094818db68836f66e268afad44ad /libpcsxcore
parenta1d7de1f72b5adcbf9bd1c782f4a185c0a02b6ec (diff)
downloadpcsxr-0d0c354caca3db41fec09e3ea471d31a2b7692be.tar.gz
Undo shalma damage
- cdrom.c- Vib Ribbon (decoded buffer - do in spu) - cdrom.c- Crash Team Racing (decoded buffer - do in spu) - xa.c- xa+cdda decoded buffer (fix mistakes) - spu.c- voice 1/3 decoded buffer (optional) Disabled > Please treat all shalma-hopkat work as suspicious (faulty + not hw-accurate) git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@63195 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/cdrom.c17
1 files changed, 13 insertions, 4 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c
index 685a71c0..70d1a9b0 100644
--- a/libpcsxcore/cdrom.c
+++ b/libpcsxcore/cdrom.c
@@ -206,7 +206,12 @@ extern SPUregisterCallback SPU_registerCallback;
void cdrDecodedBufferInterrupt()
{
- u16 buf_ptr[0x400], lcv;
+ u16 buf_ptr[0x400], lcv;
+
+#if 0
+ return;
+#endif
+
// ISO reader only
if( CDR_init != ISOinit ) return;
@@ -1623,11 +1628,15 @@ void cdrReadInterrupt() {
cdr.Xa.stereo = xa_type;
#endif
-
- // Crash Team Racing: music, speech
+
+#if 0
+ // Crash Team Racing: music, speech
+ // - done using cdda decoded buffer (spu irq)
+ // - don't do here
// signal ADPCM data ready
- psxHu32ref(0x1070) |= SWAP32((u32)0x200);
+ psxHu32ref(0x1070) |= SWAP32((u32)0x200);
+#endif
}
else cdr.FirstSector = -1;
}