aboutsummaryrefslogtreecommitdiff
path: root/source/soundux.c
diff options
context:
space:
mode:
authorJoão Silva2017-08-26 00:26:09 +0100
committerJoão Silva2017-08-26 00:26:09 +0100
commit7becd31bfe9ba0cd77ed9dc034563e0ab513a8c9 (patch)
tree33e4229f9175a51e5fc309d05b5f83f3de19251f /source/soundux.c
parent3013ee57130a36b8bd4c314c659c100c3885cd80 (diff)
downloadsnes9x2005-7becd31bfe9ba0cd77ed9dc034563e0ab513a8c9.tar.gz
snes9x2005-7becd31bfe9ba0cd77ed9dc034563e0ab513a8c9.tar.bz2
snes9x2005-7becd31bfe9ba0cd77ed9dc034563e0ab513a8c9.zip
Still cleaning things up...
Diffstat (limited to 'source/soundux.c')
-rw-r--r--source/soundux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/soundux.c b/source/soundux.c
index 0de7f4b..ebf6915 100644
--- a/source/soundux.c
+++ b/source/soundux.c
@@ -391,8 +391,8 @@ void DecodeBlock(Channel* ch)
*raw++ = ((int32_t) sample1 << shift);
*raw++ = ((int32_t) sample2 << shift);
}
- prev1 = *(raw - 2);
- prev0 = *(raw - 1);
+ prev1 = raw[-2];
+ prev0 = raw[-1];
break;
case 1:
for (i = 8; i != 0; i--)