summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-02-02 16:30:53 +0000
committerSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-02-02 16:30:53 +0000
commitd0b9cf9a9dec7d63da7784d581b723840c28ed20 (patch)
tree5496eb625737498ad27703b3c0bde068afb96283 /libpcsxcore
parent3dedb195d4077d1231aea2ba696a362cef5d6eb4 (diff)
downloadpcsxr-d0b9cf9a9dec7d63da7784d581b723840c28ed20.tar.gz
cdrom.c
- fix cdda attenuation (Tekken 1) git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62845 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/cdrom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c
index fc8a7931..63acae32 100644
--- a/libpcsxcore/cdrom.c
+++ b/libpcsxcore/cdrom.c
@@ -892,7 +892,7 @@ void cdrPlayInterrupt()
if( CDR_readCDDA ) {
CDR_readCDDA( cdr.SetSectorPlay[0], cdr.SetSectorPlay[1], cdr.SetSectorPlay[2], cdr.Transfer );
- CDXA_Attenuation( (short *) cdr.Transfer, 2352/2 );
+ CDXA_Attenuation( (short *) cdr.Transfer, 2352 );
}
@@ -903,7 +903,7 @@ void cdrPlayInterrupt()
memset( cdr.Transfer, 0, CD_FRAMESIZE_RAW );
- if( cdr.Play && SPU_playCDDAchannel)
+ if( SPU_playCDDAchannel)
SPU_playCDDAchannel((short *)cdr.Transfer, CD_FRAMESIZE_RAW);
CDRPLAY_INT( cdReadTime );