From 981e798519dc66fe93f070b471185f8d51016a8e Mon Sep 17 00:00:00 2001 From: tildearrow Date: Wed, 21 May 2025 15:54:28 -0500 Subject: [PATCH] fix typo in FMS2/AMS2 effect number --- src/engine/sysDef.cpp | 4 ++-- src/gui/editControls.cpp | 5 ++++- src/gui/gui.cpp | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/engine/sysDef.cpp b/src/engine/sysDef.cpp index a1d26a56e..e3971a2c6 100644 --- a/src/engine/sysDef.cpp +++ b/src/engine/sysDef.cpp @@ -528,8 +528,8 @@ void DivEngine::registerSystems() { {0x2a, {DIV_CMD_FM_WS, _("2Axy: Set waveform (x: operator from 1 to 4 (0 for all ops); y: waveform from 0 to 7)"), effectOpVal<4>, effectValAnd<7>}}, {0x2b, {DIV_CMD_FM_EG_SHIFT, _("2Bxy: Set envelope generator shift (x: operator from 1 to 4 (0 for all ops); y: shift from 0 to 3)"), effectOpVal<4>, effectValAnd<3>}}, {0x2c, {DIV_CMD_FM_FINE, _("2Cxy: Set fine multiplier (x: operator from 1 to 4 (0 for all ops); y: fine)"), effectOpVal<4>, effectValAnd<15>}}, - {0x64, {DIV_CMD_FM_FMS2, _("62xx: Set LFO2 FM depth (0 to 7)")}}, - {0x65, {DIV_CMD_FM_AMS2, _("63xx: Set LFO2 AM depth (0 to 3)")}}, + {0x64, {DIV_CMD_FM_FMS2, _("64xx: Set LFO2 FM depth (0 to 7)")}}, + {0x65, {DIV_CMD_FM_AMS2, _("65xx: Set LFO2 AM depth (0 to 3)")}}, }); const EffectHandler fmOPZFixFreqHandler[4]={ {DIV_CMD_FM_FIXFREQ, _("3xyy: Set fixed frequency of operator 1 (x: octave from 0 to 7; y: frequency)"), constVal<0>, effectValLong<11>}, diff --git a/src/gui/editControls.cpp b/src/gui/editControls.cpp index a429e2ab2..56bf3e41a 100644 --- a/src/gui/editControls.cpp +++ b/src/gui/editControls.cpp @@ -626,10 +626,13 @@ void FurnaceGUI::drawMobileControls() { mobileMenuPos=0.0f; aboutOpen=true; } - ImGui::SameLine(); if (ImGui::Button(_("WelcPopup"))) { tutorial.protoWelcome=false; } + ImGui::SameLine(); + if (ImGui::Button(_("EffectList"))) { + effectListOpen=!effectListOpen; + } if (ImGui::Button(_("Switch to Desktop Mode"))) { toggleMobileUI(!mobileUI); } diff --git a/src/gui/gui.cpp b/src/gui/gui.cpp index 6a37cf62d..5f0cebe93 100644 --- a/src/gui/gui.cpp +++ b/src/gui/gui.cpp @@ -4943,6 +4943,7 @@ bool FurnaceGUI::loop() { MEASURE(grooves,drawGrooves()); MEASURE(regView,drawRegView()); MEASURE(memory,drawMemory()); + MEASURE(effectList,drawEffectList()); MEASURE(userPresets,drawUserPresets()); MEASURE(patManager,drawPatManager()); } else {