diff options
| author | SND\notaz_cp <SND\notaz_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-01-07 23:04:45 +0000 |
|---|---|---|
| committer | SND\notaz_cp <SND\notaz_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-01-07 23:04:45 +0000 |
| commit | 263a5d3120d6bb77b6eee6c10697a40a81631f84 (patch) | |
| tree | 79711020ea7310b2648064eb8cf3731874f4b315 /plugins | |
| parent | 4f41d64f32bd76791d7c9689cf7746cd4d9d1eec (diff) | |
| download | pcsxr-263a5d3120d6bb77b6eee6c10697a40a81631f84.tar.gz | |
spu: fix decoded_ptr masking
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82098 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
| -rwxr-xr-x | plugins/dfsound/spu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/dfsound/spu.c b/plugins/dfsound/spu.c index b8a04b74..a0130224 100755 --- a/plugins/dfsound/spu.c +++ b/plugins/dfsound/spu.c @@ -903,7 +903,7 @@ GOON: ; // decoded buffer - voice decoded_voice += 2; - decoded_voice &= 0x400; + decoded_voice &= 0x3ff; // status flag @@ -952,9 +952,9 @@ GOON: ; MixXA(); - // now safe to update deocded buffer ptr + // now safe to update decoded buffer ptr decoded_ptr += ns * 2; - decoded_ptr &= 0x400; + decoded_ptr &= 0x3ff; /////////////////////////////////////////////////////// |
