really fix Arcade .dmp loading

This commit is contained in:
tildearrow 2022-11-27 15:57:50 -05:00
parent 8af6acb55d
commit c20bd38898

View file

@ -147,7 +147,7 @@ void DivEngine::loadDMP(SafeReader& reader, std::vector<DivInstrument*>& ret, St
logD("instrument type is C64"); logD("instrument type is C64");
break; break;
case 8: // Arcade case 8: // Arcade
ins->type=DIV_INS_FM; ins->type=DIV_INS_OPM;
logD("instrument type is Arcade"); logD("instrument type is Arcade");
break; break;
case 9: // Neo Geo case 9: // Neo Geo
@ -187,6 +187,8 @@ void DivEngine::loadDMP(SafeReader& reader, std::vector<DivInstrument*>& ret, St
ins->type=DIV_INS_OPLL; ins->type=DIV_INS_OPLL;
} else if (sys==1) { } else if (sys==1) {
ins->type=DIV_INS_OPL; ins->type=DIV_INS_OPL;
} else if (sys==8) {
ins->type=DIV_INS_OPM;
} else { } else {
ins->type=DIV_INS_FM; ins->type=DIV_INS_FM;
} }