diff options
| author | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-10-09 20:06:59 +0000 |
|---|---|---|
| committer | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-10-09 20:06:59 +0000 |
| commit | b056099cfb2193910faff0e58dbb4440d0996970 (patch) | |
| tree | 0cf229cdc7754f1e830546894607a6e6b78085cf /libpcsxcore | |
| parent | 58ce9c6b0d9705915540e7b712c5631efcc0d1eb (diff) | |
| download | pcsxr-b056099cfb2193910faff0e58dbb4440d0996970.tar.gz | |
Crash Team Racing: cdrom.c
- SPU IRQ for every ADPCM decoded
- Fixes music, speech
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@58252 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
| -rw-r--r-- | libpcsxcore/cdrom.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index f8f9da86..8a0d9168 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -864,6 +864,12 @@ void cdrReadInterrupt() { if (!ret) { SPU_playADPCMchannel(&cdr.Xa); cdr.FirstSector = 0; +
+
+ // Crash Team Racing: music, speech
+
+ // signal ADPCM data ready
+ psxHu32ref(0x1070) |= SWAP32((u32)0x200);
} else cdr.FirstSector = -1; } |
