change the effect to 61

This commit is contained in:
tildearrow 2025-05-21 04:32:05 -05:00
parent 1ce0fff028
commit 64f4db3ab8
2 changed files with 2 additions and 2 deletions

View file

@ -311,7 +311,7 @@ const char* cmdName[]={
"WS_GLOBAL_SPEAKER_VOLUME", "WS_GLOBAL_SPEAKER_VOLUME",
"FM_ALGORITHM" "FM_ALG"
}; };
static_assert((sizeof(cmdName)/sizeof(void*))==DIV_CMD_MAX,"update cmdName!"); static_assert((sizeof(cmdName)/sizeof(void*))==DIV_CMD_MAX,"update cmdName!");

View file

@ -502,7 +502,7 @@ void DivEngine::registerSystems() {
{0x5e, {DIV_CMD_FM_D2R, _("5Exx: Set decay 2 of operator 3 (0 to 1F)"), constVal<2>, effectValAnd<31>}}, {0x5e, {DIV_CMD_FM_D2R, _("5Exx: Set decay 2 of operator 3 (0 to 1F)"), constVal<2>, effectValAnd<31>}},
{0x5f, {DIV_CMD_FM_D2R, _("5Fxx: Set decay 2 of operator 4 (0 to 1F)"), constVal<3>, effectValAnd<31>}}, {0x5f, {DIV_CMD_FM_D2R, _("5Fxx: Set decay 2 of operator 4 (0 to 1F)"), constVal<3>, effectValAnd<31>}},
{0x60, {DIV_CMD_FM_OPMASK, _("60xx: Set operator mask (bits 0-3)")}}, {0x60, {DIV_CMD_FM_OPMASK, _("60xx: Set operator mask (bits 0-3)")}},
{0xb3, {DIV_CMD_FM_ALG, _("B3xx: Set algorithm (0 to 7)")}}, {0x61, {DIV_CMD_FM_ALG, _("61xx: Set algorithm (0 to 7)")}},
}; };
EffectHandlerMap fmOPMPostEffectHandlerMap(fmOPNPostEffectHandlerMap); EffectHandlerMap fmOPMPostEffectHandlerMap(fmOPNPostEffectHandlerMap);