diff options
| author | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-02-02 19:39:44 +0000 |
|---|---|---|
| committer | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2011-02-02 19:39:44 +0000 |
| commit | 5f93c7a7b5acd5e1ae9fedd91e3c316f92d519c0 (patch) | |
| tree | fbe7ce76ed9809d62fde9a37b806de3536df0cf1 /libpcsxcore | |
| parent | c8edcac4e14a31af9d848c0dfded76908b8c1d7d (diff) | |
| download | pcsxr-5f93c7a7b5acd5e1ae9fedd91e3c316f92d519c0.tar.gz | |
Experimental
-cdrom.c - fix mono xa attenuation
Disabled by default
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62855 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
| -rw-r--r-- | libpcsxcore/cdrom.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libpcsxcore/cdrom.c b/libpcsxcore/cdrom.c index 1b7e4d66..0ab72a1a 100644 --- a/libpcsxcore/cdrom.c +++ b/libpcsxcore/cdrom.c @@ -502,7 +502,8 @@ void CDXA_Attenuation( s16 *buf, int size, int stereo ) temp[dst+1] = spsound[i];
}
- memcpy( spsound, temp, (size*2)*2 );
+ size *= 2*2;
+ memcpy( spsound, temp, size );
}
#endif
|
