From 4e8d71fc22b95bd0cc4f7fde846d191f74d86868 Mon Sep 17 00:00:00 2001 From: cam900 Date: Thu, 21 Jul 2022 13:42:20 +0900 Subject: [PATCH] Fix sample map struct Structize sample map variable is for easily extend features. --- src/gui/insEdit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/insEdit.cpp b/src/gui/insEdit.cpp index 5633bb895..18e286802 100644 --- a/src/gui/insEdit.cpp +++ b/src/gui/insEdit.cpp @@ -3022,7 +3022,7 @@ void FurnaceGUI::drawInsEdit() { /*ImGui::TableNextColumn(); ImGui::Text("Frequency");*/ for (int i=0; i<120; i++) { - DivInstrumentAmiga::SampleMap sampleMap=ins->amiga.noteMap[i]; + DivInstrumentAmiga::SampleMap& sampleMap=ins->amiga.noteMap[i]; ImGui::TableNextRow(); ImGui::PushID(fmt::sprintf("NM_%d",i).c_str()); ImGui::TableNextColumn();