GUI: fix macros tab being visible in unknown ins

This commit is contained in:
tildearrow 2023-12-19 04:55:30 -05:00
parent 14f29ca6a5
commit 37195e5759

View file

@ -5967,7 +5967,7 @@ void FurnaceGUI::drawInsEdit() {
ImGui::EndTabItem();
}
}
if (ImGui::BeginTabItem("Macros")) {
if (ins->type<DIV_INS_MAX) if (ImGui::BeginTabItem("Macros")) {
const char* volumeLabel="Volume";
int volMax=15;