summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorSND\dario86_cp <SND\dario86_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-02-27 23:44:39 +0000
committerSND\dario86_cp <SND\dario86_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2012-02-27 23:44:39 +0000
commit08808076c88f79969e00d6734a5220c82c4186f7 (patch)
tree854e65b054aea2e14e250e519646f3a069fcc26a /libpcsxcore
parentb856e43a18616250a52600825b293f57ece725b5 (diff)
downloadpcsxr-08808076c88f79969e00d6734a5220c82c4186f7.tar.gz
- reenabled CD-XA streaming hack by shalma; fixes sound in Final Fantasy Tactics, Ridge Racer Type 4 opening sequence and other games (issue #8067);
- reenabled CD-XA attenuation by shalma; CD-XA fading effect supported in the main menu in Resident Evil, at the end of the fight in Tekken 3 and in Street Fighter Alpha 3 (issue #9593). git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@75584 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/cdrom.c8
-rw-r--r--libpcsxcore/r3000a.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c
index 7b699248..28632bf4 100644
--- a/libpcsxcore/cdrom.c
+++ b/libpcsxcore/cdrom.c
@@ -523,7 +523,7 @@ static void CDXA_Attenuation( s16 *buf, int size, int stereo, int attenuate_type
spsound = buf;
-#if 0
+#if 1
// mono xa attenuation
// - Tales of Phantasia (voice meter)
if( stereo == 0 ) {
@@ -1646,7 +1646,7 @@ void cdrReadInterrupt() {
int ret = xa_decode_sector(&cdr.Xa, cdr.Transfer+4, cdr.FirstSector);
if (!ret) {
-#if 0
+#if 1
int xa_type;
// save - set only for FirstSector
@@ -2251,7 +2251,7 @@ void cdrWrite3(unsigned char rt) {
return;
}
-#if 1
+#if 0
if (cdr.Reading && !cdr.ResultReady) {
CDREAD_INT((cdr.Mode & MODE_SPEED) ? (cdReadTime / 2) : cdReadTime);
}
@@ -2452,7 +2452,7 @@ void cdrReset() {
cdr.File = 1;
cdr.Channel = 1;
-#if 0
+#if 1
// BIOS player - default values
cdr.AttenuatorLeft[0] = 0x80;
cdr.AttenuatorLeft[1] = 0x00;
diff --git a/libpcsxcore/r3000a.c b/libpcsxcore/r3000a.c
index c7a2b09a..d718c6cb 100644
--- a/libpcsxcore/r3000a.c
+++ b/libpcsxcore/r3000a.c
@@ -123,7 +123,7 @@ void psxBranchTest() {
}
}
-#if 0
+#if 1
if( SPU_async )
{
static int init;