diff --git a/src/engine/fileOpsIns.cpp b/src/engine/fileOpsIns.cpp index a8e1b126..491807fa 100644 --- a/src/engine/fileOpsIns.cpp +++ b/src/engine/fileOpsIns.cpp @@ -730,10 +730,12 @@ void DivEngine::loadOPLI(SafeReader& reader, std::vector& ret, S readOpliOp(reader, ins->fm.op[i]); } } + + if (!is_2x2op) { + reader.seek(10, SEEK_CUR); // skip unused operator pair + } } - // Skip rest of file - reader.seek(0, SEEK_END); insList.push_back(ins); } } catch (EndOfFileException& e) { @@ -809,8 +811,6 @@ void DivEngine::loadOPNI(SafeReader& reader, std::vector& ret, S readOpniOp(reader, ins->fm.op[i]); } - // Skip rest of file - reader.seek(0, SEEK_END); ret.push_back(ins); } } catch (EndOfFileException& e) {