From 8ec839f181d59eae8ed3a8bfd74e8ec4a2d16e7e Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Wed, 4 May 2022 18:07:01 +0100 Subject: [PATCH] Be more consistent with instruction use --- agb/src/sound/mixer/mixer.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agb/src/sound/mixer/mixer.s b/agb/src/sound/mixer/mixer.s index 4df3d6b6..84262d8d 100644 --- a/agb/src/sound/mixer/mixer.s +++ b/agb/src/sound/mixer/mixer.s @@ -178,7 +178,7 @@ TEMP .req r10 @ left_reg = *r1; r1++ ldr \left_reg, [r1], #4 - lsl \right_reg, \left_reg, #16 @ push the sample 16 bits first + mov \right_reg, \left_reg, lsl #16 @ push the sample 16 bits first add \right_reg, r9, \right_reg, asr #20 @ move right sample back to being the correct value add \left_reg, r9, \left_reg, asr #20 @ now we only have the left sample