summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rwxr-xr-xplugins/dfsound/spu.c6
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;
///////////////////////////////////////////////////////