From 24aa37c66f1bb19e674b8d431da8b9c4a0385c29 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Wed, 19 Nov 2025 01:26:18 -0500 Subject: [PATCH] ...... --- src/gui/sysConf.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/gui/sysConf.cpp b/src/gui/sysConf.cpp index dddebe280..79d882d88 100644 --- a/src/gui/sysConf.cpp +++ b/src/gui/sysConf.cpp @@ -1304,8 +1304,14 @@ bool FurnaceGUI::drawSysConf(int chan, int sysPos, DivSystem type, DivConfig& fl int volScale=flags.getInt("volScale",4095); bool amigaVol=flags.getBool("amigaVol",false); bool amigaPitch=flags.getBool("amigaPitch",false); - ImGui::Text(_("Initial channel limit:")); - if (CWSliderInt("##OTTO_InitialChannelLimit",&channels,5,32)) { + + int minChans=5; + if (chan>=0) { + minChans=e->song.systemChans[chan]; + if (minChans>32) minChans=32; + } + ImGui::Text(_("Output rate:")); + if (CWSliderInt("##OTTO_InitialChannelLimit",&channels,minChans,32,"Label me please!")) { if (channels<5) channels=5; if (channels>32) channels=32; altered=true;