load .opm as OPM instruments

This commit is contained in:
tildearrow 2022-11-26 18:49:47 -05:00
parent 85cb64b227
commit 8af6acb55d

View file

@ -1341,7 +1341,7 @@ void DivEngine::loadOPM(SafeReader& reader, std::vector<DivInstrument*>& ret, St
// At this point we know any other line would be associated with patch params // At this point we know any other line would be associated with patch params
if (newPatch == NULL) { if (newPatch == NULL) {
newPatch = new DivInstrument; newPatch = new DivInstrument;
newPatch->type = DIV_INS_FM; newPatch->type = DIV_INS_OPM;
newPatch->fm.ops = 4; newPatch->fm.ops = 4;
} }