Tremolo is broken.
This commit is contained in:
parent
2f45f59906
commit
540af1e2ef
|
@ -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
|
// - note that a volume value does not stop tremolo - instead it glitches this whole thing up
|
||||||
if (chan[i].tremoloDepth==0) {
|
if (chan[i].tremoloDepth==0) {
|
||||||
chan[i].tremoloPos=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].tremoloDepth=effectVal&15;
|
||||||
chan[i].tremoloRate=effectVal>>4;
|
chan[i].tremoloRate=effectVal>>4;
|
||||||
|
|
|
@ -863,7 +863,7 @@ bool FurnaceGUI::drawSysConf(int chan, DivSystem type, DivConfig& flags, bool mo
|
||||||
if (echoBufSize1<0) echoBufSize1=0;
|
if (echoBufSize1<0) echoBufSize1=0;
|
||||||
if (echoBufSize1>2725) echoBufSize1=2725;
|
if (echoBufSize1>2725) echoBufSize1=2725;
|
||||||
echoDelay=2725-echoBufSize1;
|
echoDelay=2725-echoBufSize1;
|
||||||
altered=true;;
|
altered=true;
|
||||||
} rightClickable
|
} rightClickable
|
||||||
ImGui::Text("Echo feedback:");
|
ImGui::Text("Echo feedback:");
|
||||||
if (CWSliderInt("##EchoFeedback",&echoFeedback,0,255)) {
|
if (CWSliderInt("##EchoFeedback",&echoFeedback,0,255)) {
|
||||||
|
|
Loading…
Reference in New Issue