diff --git a/Source/build.cpp b/Source/build.cpp index 5a62364f..e89f1ec7 100644 --- a/Source/build.cpp +++ b/Source/build.cpp @@ -725,6 +725,7 @@ int CEXEBuild::datablock_optimize(int start_offset) { db_opt_save += this_len; db->resize(max(start_offset, pos + this_len)); + db->setro(FALSE); return pos; } }