From 0d0c354caca3db41fec09e3ea471d31a2b7692be Mon Sep 17 00:00:00 2001 From: "SND\\shalma_cp" Date: Thu, 10 Feb 2011 16:21:30 +0000 Subject: 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 --- libpcsxcore/cdrom.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'libpcsxcore/cdrom.c') 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; } -- cgit v1.2.3