diff options
| author | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-11-29 14:23:41 +0000 |
|---|---|---|
| committer | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-11-29 14:23:41 +0000 |
| commit | 681788b7dac4dd5fae0660e9d98b5b75f535e393 (patch) | |
| tree | 3ba26027cbb8dca8cd0c01cb5b9d926ab6062c19 /libpcsxcore | |
| parent | 0ab3c3f56c3aabc901927cb47cccd493bd49b595 (diff) | |
| download | pcsxr-681788b7dac4dd5fae0660e9d98b5b75f535e393.tar.gz | |
V-Rally 2 - cdrom.c
- spu compat hack ($0-8000 max)
- fix movie sound
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@60325 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
| -rw-r--r-- | libpcsxcore/cdrom.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index dd24f90d..4f2d0f89 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -1989,6 +1989,7 @@ void cdrWrite3(unsigned char rt) { Eternal SPU: scale volume from [0-ffff] -> [0,8000]
- Destruction Derby Raw - movies (ff00 ff00)
- Smurf Racer - movies (00ff 00ff)
+ - V-Rally 2 - movies (FC00 FC00)
*/
// Fake attenuation volume hack for Eternal
@@ -2005,6 +2006,8 @@ void cdrWrite3(unsigned char rt) { // spu compatibility volume hack
if( l1 == 0 && l2 > 0 ) { l1 = l2; l2 = 0; }
if( r1 == 0 && r2 > 0 ) { r1 = r2; r2 = 0; }
+ if( l1 == 0x80 && l2 == 0x80 ) { l2 = 0; }
+ if( r1 == 0x80 && r2 == 0x80 ) { r2 = 0; }
cdleft = (l1 << 8) | l2;
cdright = (r1 << 8) | r2;
|
