From 263a5d3120d6bb77b6eee6c10697a40a81631f84 Mon Sep 17 00:00:00 2001 From: "SND\\notaz_cp" Date: Mon, 7 Jan 2013 23:04:45 +0000 Subject: spu: fix decoded_ptr masking git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82098 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- plugins/dfsound/spu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') 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; /////////////////////////////////////////////////////// -- cgit v1.2.3