From 6811413afc7aa5eaa24a698649b6b4f274cbce31 Mon Sep 17 00:00:00 2001 From: tildearrow Date: Wed, 28 Dec 2022 15:31:26 -0500 Subject: [PATCH] GUI: fix MSM5232 part labels --- src/gui/insEdit.cpp | 2 +- src/gui/sysConf.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/insEdit.cpp b/src/gui/insEdit.cpp index e359fc2e8..c0add60c0 100644 --- a/src/gui/insEdit.cpp +++ b/src/gui/insEdit.cpp @@ -264,7 +264,7 @@ const char* mikeyFeedbackBits[11] = { }; const char* msm5232ControlBits[7]={ - "2'", "4'", "8'", "16'", "sustain", NULL + "16'", "8'", "4'", "2'", "sustain", NULL }; const char* x1_010EnvBits[8]={ diff --git a/src/gui/sysConf.cpp b/src/gui/sysConf.cpp index 2fab65c55..9ebe7ec05 100644 --- a/src/gui/sysConf.cpp +++ b/src/gui/sysConf.cpp @@ -1474,7 +1474,7 @@ bool FurnaceGUI::drawSysConf(int chan, DivSystem type, DivConfig& flags, bool mo ImGui::Text("Initial part volume (channel 1-4):"); for (int i=0; i<4; i++) { - snprintf(temp,63,"%d'##GRPV%d",16>>i,i); + snprintf(temp,63,"%d'##GRPV%d",2<255) groupVol[i]=255; @@ -1484,7 +1484,7 @@ bool FurnaceGUI::drawSysConf(int chan, DivSystem type, DivConfig& flags, bool mo ImGui::Text("Initial part volume (channel 5-8):"); for (int i=4; i<8; i++) { - snprintf(temp,63,"%d'##GRPV%d",16>>(i-4),i); + snprintf(temp,63,"%d'##GRPV%d",2<<(i-4),i); if (CWSliderInt(temp,&groupVol[i],0,255)) { if (groupVol[i]<0) groupVol[i]=0; if (groupVol[i]>255) groupVol[i]=255;