Tremolo is broken.

This commit is contained in:
tildearrow 2023-06-06 14:58:02 -05:00
parent 2f45f59906
commit 540af1e2ef
2 changed files with 3 additions and 1 deletions

View File

@ -791,6 +791,8 @@ void DivEngine::processRow(int i, bool afterDelay) {
// - note that a volume value does not stop tremolo - instead it glitches this whole thing up
if (chan[i].tremoloDepth==0) {
chan[i].tremoloPos=0;
dispatchCmd(DivCommand(DIV_CMD_VOLUME,i,chan[i].volume>>8));
dispatchCmd(DivCommand(DIV_CMD_HINT_VOLUME,i,chan[i].volume>>8));
}
chan[i].tremoloDepth=effectVal&15;
chan[i].tremoloRate=effectVal>>4;

View File

@ -863,7 +863,7 @@ bool FurnaceGUI::drawSysConf(int chan, DivSystem type, DivConfig& flags, bool mo
if (echoBufSize1<0) echoBufSize1=0;
if (echoBufSize1>2725) echoBufSize1=2725;
echoDelay=2725-echoBufSize1;
altered=true;;
altered=true;
} rightClickable
ImGui::Text("Echo feedback:");
if (CWSliderInt("##EchoFeedback",&echoFeedback,0,255)) {