From 1dd46274d55032f8040aaa58bd3c640c48e9c08d Mon Sep 17 00:00:00 2001 From: tildearrow Date: Thu, 12 Oct 2023 20:05:52 -0500 Subject: [PATCH] GUI: move Sample tab of non-sample-primary ins typ es --- src/gui/insEdit.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/gui/insEdit.cpp b/src/gui/insEdit.cpp index ff800c195..335eca99a 100644 --- a/src/gui/insEdit.cpp +++ b/src/gui/insEdit.cpp @@ -4926,8 +4926,7 @@ void FurnaceGUI::drawInsEdit() { P(ImGui::Checkbox("Don't test before new note",&ins->c64.noTest)); ImGui::EndTabItem(); } - if (ins->type==DIV_INS_PCE || - ins->type==DIV_INS_MSM6258 || + if (ins->type==DIV_INS_MSM6258 || ins->type==DIV_INS_MSM6295 || ins->type==DIV_INS_ADPCMA || ins->type==DIV_INS_ADPCMB || @@ -4937,12 +4936,6 @@ void FurnaceGUI::drawInsEdit() { ins->type==DIV_INS_RF5C68 || ins->type==DIV_INS_AMIGA || ins->type==DIV_INS_MULTIPCM || - ins->type==DIV_INS_MIKEY || - ins->type==DIV_INS_X1_010 || - ins->type==DIV_INS_SWAN || - ins->type==DIV_INS_AY || - ins->type==DIV_INS_AY8930 || - ins->type==DIV_INS_VRC6 || ins->type==DIV_INS_SU || ins->type==DIV_INS_SNES || ins->type==DIV_INS_ES5506 || @@ -6192,7 +6185,14 @@ void FurnaceGUI::drawInsEdit() { drawMacros(macroList,macroEditStateMacros); ImGui::EndTabItem(); } - if (ins->type==DIV_INS_NES) { + if (ins->type==DIV_INS_NES || + ins->type==DIV_INS_AY || + ins->type==DIV_INS_AY8930 || + ins->type==DIV_INS_MIKEY || + ins->type==DIV_INS_PCE || + ins->type==DIV_INS_X1_010 || + ins->type==DIV_INS_SWAN || + ins->type==DIV_INS_VRC6) { insTabSample(ins); } ImGui::EndTabBar();