diff options
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
|
