mirror of
https://github.com/open-goal/jak-project
synced 2026-06-08 20:29:54 -04:00
d/jak2: update related gsrc code as well
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user