From 331ed51264615a7edc794e7d29b361f3e5770652 Mon Sep 17 00:00:00 2001 From: dannye <33dannye@gmail.com> Date: Sun, 8 Sep 2019 12:09:43 -0500 Subject: [PATCH] stereo_panning: force any non-zero arg to 1 --- macros/scripts/audio.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macros/scripts/audio.asm b/macros/scripts/audio.asm index 4d1e86f4e..6e99cc3b0 100644 --- a/macros/scripts/audio.asm +++ b/macros/scripts/audio.asm @@ -156,7 +156,7 @@ ENDM enum force_stereo_panning_cmd ; $e4 force_stereo_panning: MACRO db force_stereo_panning_cmd - dn %1111 * \1, %1111 * \2 ; left enable, right enable + dn %1111 * (1 && \1), %1111 * (1 && \2) ; left enable, right enable ENDM enum volume_cmd ; $e5 @@ -229,7 +229,7 @@ ENDM enum stereo_panning_cmd ; $ef stereo_panning: MACRO db stereo_panning_cmd - dn %1111 * \1, %1111 * \2 ; left enable, right enable + dn %1111 * (1 && \1), %1111 * (1 && \2) ; left enable, right enable ENDM enum sfx_toggle_noise_cmd ; $f0