fix typo in FMS2/AMS2 effect number

This commit is contained in:
tildearrow 2025-05-21 15:54:28 -05:00
parent b98ff13753
commit 981e798519
3 changed files with 7 additions and 3 deletions

View file

@ -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>},

View file

@ -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);
}

View file

@ -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 {