d/jak2: update related gsrc code as well

This commit is contained in:
Tyler Wilding
2022-10-09 23:13:34 -04:00
parent 5df3eaa18a
commit a409f9064e
14 changed files with 1027 additions and 1067 deletions
+2 -2
View File
@@ -1209,11 +1209,11 @@ goos::Object decompile_structure(const TypeSpec& type,
if (field.type() == TypeSpec("object")) {
field_defs_out.emplace_back(
field.name(),
decompile_at_label_guess_type(labels.at(word.label_id()), labels, words, ts, file));
decompile_at_label_guess_type(labels.at(word.label_id()), labels, words, ts, file, version));
} else {
field_defs_out.emplace_back(
field.name(), decompile_at_label(field.type(), labels.at(word.label_id()), labels,
words, ts, file));
words, ts, file, version));
}
} else if (word.kind() == LinkedWord::PLAIN_DATA && word.data == 0) {
// do nothing, the default is zero?