summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-04-17 22:23:32 +0000
committerSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2011-04-17 22:23:32 +0000
commit2cd82c7b149157c303828d09ef44073c5ff169bf (patch)
treeda0ed5b3fd9b4739b57dac67fe87c014bf5e3883 /plugins
parent71402b041845d0300c7c8de55770225614ec8e97 (diff)
downloadpcsxr-2cd82c7b149157c303828d09ef44073c5ff169bf.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@65931 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dfsound/xa.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/plugins/dfsound/xa.c b/plugins/dfsound/xa.c
index 080caa71..20b6802a 100644
--- a/plugins/dfsound/xa.c
+++ b/plugins/dfsound/xa.c
@@ -70,6 +70,8 @@ INLINE void MixXA(void)
int decoded_xa;
int decoded_cdda;
+ decoded_xa = decoded_ptr;
+
lc = 0;
rc = 0;
@@ -87,11 +89,11 @@ INLINE void MixXA(void)
lastxa_lc = lc;
lastxa_rc = rc;
-/*
+
// Tales of Phantasia - voice meter
spuMem[ (decoded_xa + 0x000)/2 ] = (short) lc;
spuMem[ (decoded_xa + 0x400)/2 ] = (short) rc;
-*/
+
decoded_xa += 2;
if( decoded_xa >= 0x400 )
decoded_xa = 0;
@@ -124,11 +126,11 @@ INLINE void MixXA(void)
lc = lastxa_lc;
rc = lastxa_rc;
-/*
+
// Tales of Phantasia - voice meter
spuMem[ (decoded_xa + 0x000)/2 ] = (short) lc;
spuMem[ (decoded_xa + 0x400)/2 ] = (short) rc;
-*/
+
decoded_xa += 2;
if( decoded_xa >= 0x400 )
decoded_xa = 0;
@@ -170,11 +172,11 @@ INLINE void MixXA(void)
lastcd_lc = lc;
lastcd_rc = rc;
-/*
+
// Vib Ribbon - playback
spuMem[ (decoded_cdda + 0x000)/2 ] = (short) lc;
spuMem[ (decoded_cdda + 0x400)/2 ] = (short) rc;
-*/
+
decoded_cdda += 2;
if( decoded_cdda >= 0x400 )
decoded_cdda = 0;
@@ -209,11 +211,11 @@ INLINE void MixXA(void)
lc = lastcd_lc;
rc = lastcd_rc;
-/*
+
// Vib Ribbon - playback
spuMem[ (decoded_cdda + 0x000)/2 ] = (short) lc;
spuMem[ (decoded_cdda + 0x400)/2 ] = (short) rc;
-*/
+
decoded_cdda += 2;
if( decoded_cdda >= 0x400 )
decoded_cdda = 0;