From e168d2b6c237c6fa4a5fc7bbae2d31ac23ff1e60 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Mon, 24 Jun 2024 16:34:46 -0500 Subject: [PATCH] GUI: fix ES5506 Amiga pitch warning --- src/gui/sysConf.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gui/sysConf.cpp b/src/gui/sysConf.cpp index fea0ad025..3eb5565c2 100644 --- a/src/gui/sysConf.cpp +++ b/src/gui/sysConf.cpp @@ -1296,8 +1296,10 @@ bool FurnaceGUI::drawSysConf(int chan, int sysPos, DivSystem type, DivConfig& fl if (ImGui::Checkbox(_("Amiga-like pitch (non-linear pitch only)"),&amigaPitch)) { altered=true; } - if (ImGui::IsItemHovered()) { - ImGui::SetTooltip("pitch linearity is set to linear. this won't do anything!"); + if (amigaPitch && e->song.linearPitch==2) { + if (ImGui::IsItemHovered()) { + ImGui::SetTooltip("pitch linearity is set to linear. this won't do anything!"); + } } popWarningColor();