aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlyssa Milburn2011-10-31 21:43:17 +0100
committerAlyssa Milburn2011-10-31 21:47:37 +0100
commitbf39e60ff7c9c1ccd9347ad789eaa22ceae28a6d (patch)
tree1c10c5110311e663dc2139c9e4c1c15e584d2565
parent3a461c2525409febdcd83d01a33d36772fb7a3de (diff)
downloadscummvm-rg350-bf39e60ff7c9c1ccd9347ad789eaa22ceae28a6d.tar.gz
scummvm-rg350-bf39e60ff7c9c1ccd9347ad789eaa22ceae28a6d.tar.bz2
scummvm-rg350-bf39e60ff7c9c1ccd9347ad789eaa22ceae28a6d.zip
AUDIO: Fix reverse stereo (LinearRate_R) on ARM.
Fixes the issues I can reproduce, and presumably fixes bug #2998862. (cherry picked from commit 797406fe4c77b6a56cc4f8a50c15d639cd440ce4)
-rw-r--r--audio/rate_arm_asm.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/rate_arm_asm.s b/audio/rate_arm_asm.s
index d86d96267e..228c43f376 100644
--- a/audio/rate_arm_asm.s
+++ b/audio/rate_arm_asm.s
@@ -615,7 +615,7 @@ LinearRate_R_read_return:
SUBS r8, r8, #65536 @ r8 = opos--
STRH r10,[r2,#22] @ ilast[0] = icur[0]
MOV r10,r10,LSR #16
- STRH r10,[r2,#22] @ ilast[1] = icur[1]
+ STRH r10,[r2,#26] @ ilast[1] = icur[1]
STRH r5, [r2,#16] @ icur[0] = tmp0
STRH r6, [r2,#18] @ icur[1] = tmp1
BGE LinearRate_R_loop