add default GC patches

This commit is contained in:
Martin Michelsen
2023-12-13 15:32:27 -08:00
parent 7cb0ef9f3e
commit bbef5e329f
120 changed files with 14060 additions and 9 deletions
-4
View File
@@ -161,10 +161,6 @@ shared_ptr<CompiledFunctionCode> compile_function_code(
for (const auto& it : ret->label_offsets) {
if (starts_with(it.first, "reloc")) {
reloc_indexes.emplace(it.second / 4);
} else if (starts_with(it.first, "newserv_index_")) {
ret->index = stoul(it.first.substr(14), nullptr, 16);
} else if (it.first == "hide_from_patches_menu") {
ret->hide_from_patches_menu = true;
}
}