Skip to content

Commit

Permalink
GUI: move Sample tab of non-sample-primary ins typ
Browse files Browse the repository at this point in the history
es
  • Loading branch information
tildearrow committed Oct 13, 2023
1 parent 7ede07e commit 1dd4627
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/gui/insEdit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||
Expand All @@ -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 ||
Expand Down Expand Up @@ -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();
Expand Down

0 comments on commit 1dd4627

Please sign in to comment.