Fix sample map struct

Structize sample map variable is for easily extend features.
This commit is contained in:
cam900 2022-07-21 13:42:20 +09:00 committed by GitHub
parent a5959ae7b9
commit 4e8d71fc22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();