From 24ff5b240c4bcd3ac58807d35dfac26152790245 Mon Sep 17 00:00:00 2001 From: Zeta Date: Tue, 14 Nov 2023 03:29:42 -0500 Subject: [PATCH] Expose volume ceiling option in the Compatibility Flags window --- src/gui/compatFlags.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/compatFlags.cpp b/src/gui/compatFlags.cpp index d5419c01c..a11200544 100644 --- a/src/gui/compatFlags.cpp +++ b/src/gui/compatFlags.cpp @@ -336,6 +336,10 @@ void FurnaceGUI::drawCompatFlags() { if (ImGui::IsItemHovered()) { ImGui::SetTooltip("when enabled, arpeggio effect (00xy) position is reset on a new note."); } + ImGui::Checkbox("Volume scaling rounds up",&e->song.ceilVolumeScaling); + if (ImGui::IsItemHovered()) { + ImGui::SetTooltip("when enabled, volume macros round up when applied\nthis prevents volume scaling from causing vol=0, which is silent on some chips\n\nineffective on logarithmic channels"); + } ImGui::EndTabItem(); } ImGui::EndTabBar();