diff --git a/src/engine/fileOpsIns.cpp b/src/engine/fileOpsIns.cpp index 9668c8d9..83361130 100644 --- a/src/engine/fileOpsIns.cpp +++ b/src/engine/fileOpsIns.cpp @@ -190,7 +190,6 @@ void DivEngine::loadDMP(SafeReader& reader, std::vector& ret, St } else { ins->type=DIV_INS_FM; } - } } else { ins->type=DIV_INS_FM; @@ -273,6 +272,9 @@ void DivEngine::loadDMP(SafeReader& reader, std::vector& ret, St if (version>5) { for (int i=0; istd.volMacro.len; i++) { ins->std.volMacro.val[i]=reader.readI(); + if (ins->std.volMacro.val[i]>15 && sys==6) { // FDS + ins->type=DIV_INS_FDS; + } } } else { for (int i=0; istd.volMacro.len; i++) {