MSM5232: add detune option

This commit is contained in:
tildearrow 2022-10-01 03:27:57 -05:00
parent 5e18edb229
commit 81ac2ba3b1
3 changed files with 18 additions and 3 deletions

View file

@ -1290,6 +1290,20 @@ bool FurnaceGUI::drawSysConf(int chan, DivSystem type, DivConfig& flags, bool mo
break;
}
case DIV_SYSTEM_MSM5232: {
int detune=flags.getInt("detune",0);
if (CWSliderInt("Detune",&detune,-127,127)) {
if (detune<-127) detune=-127;
if (detune>127) detune=127;
altered=true;
} rightClickable
if (altered) {
flags.set("detune",detune);
}
break;
}
case DIV_SYSTEM_SWAN:
case DIV_SYSTEM_VERA:
case DIV_SYSTEM_BUBSYS_WSG: