From fa306e531f9a26b6408cfda7607520547e95d63a Mon Sep 17 00:00:00 2001 From: Daniel Hajjar <33489389+DanTGL@users.noreply.github.com> Date: Sun, 18 Aug 2024 21:41:02 +0200 Subject: [PATCH] Update src/JSystem/JAudio/JASOscillator.cpp Co-authored-by: LagoLunatic --- src/JSystem/JAudio/JASOscillator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/JSystem/JAudio/JASOscillator.cpp b/src/JSystem/JAudio/JASOscillator.cpp index cbd1b5d2..2c8ec371 100644 --- a/src/JSystem/JAudio/JASOscillator.cpp +++ b/src/JSystem/JAudio/JASOscillator.cpp @@ -176,8 +176,8 @@ f32 JASystem::TOscillator::calc(s16* i_table) { } s16 envMode = i_table[idx]; - s16 envTime = i_table[idx + 1]; - s16 envValue = i_table[idx + 2]; + s16 envTime = i_table[idx + 1]; + s16 envValue = i_table[idx + 2]; if (envMode == 13) { field_0x6 = envValue;