add flag to disable duty reset on new note for C64/SID2/SID3

This commit is contained in:
LTVA1 2024-08-06 09:00:16 +03:00
parent 7dd16ee7b1
commit 402ff627ae
11 changed files with 36 additions and 12 deletions

View file

@ -702,7 +702,7 @@ void DivEngine::registerSystems() {
const EffectHandler SID3FineDutyHandler(DIV_CMD_C64_FINE_DUTY, _("3xxx: Set pulse width (0 to FFF)"), effectValLong<12>);
const EffectHandler SID3FineCutoffHandler(DIV_CMD_C64_FINE_CUTOFF, _("4xxx: Set cutoff (0 to FFF)"), effectValLong<11>);
for (int i=0; i<16; i++) SID3PostEffectHandlerMap.emplace(0x30+i,SID3FineDutyHandler);
for (int i=0; i<16; i++) SID2PostEffectHandlerMap.emplace(0x40+i,SID3FineCutoffHandler);
for (int i=0; i<16; i++) SID3PostEffectHandlerMap.emplace(0x40+i,SID3FineCutoffHandler);
// SysDefs