From 8af6acb55d205d6e81ee0bf4f035c29eaca776ef Mon Sep 17 00:00:00 2001 From: tildearrow Date: Sat, 26 Nov 2022 18:49:47 -0500 Subject: [PATCH] load .opm as OPM instruments --- src/engine/fileOpsIns.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/fileOpsIns.cpp b/src/engine/fileOpsIns.cpp index 4920308b5..b83a6b48c 100644 --- a/src/engine/fileOpsIns.cpp +++ b/src/engine/fileOpsIns.cpp @@ -1341,7 +1341,7 @@ void DivEngine::loadOPM(SafeReader& reader, std::vector& ret, St // At this point we know any other line would be associated with patch params if (newPatch == NULL) { newPatch = new DivInstrument; - newPatch->type = DIV_INS_FM; + newPatch->type = DIV_INS_OPM; newPatch->fm.ops = 4; }