decompiler: allow jak 3 texture and model extraction (#3080)

Added some hacks and stubs to allow extracting textures and models.
This commit is contained in:
Hat Kid
2023-10-12 01:32:12 +02:00
committed by GitHub
parent 6285c61662
commit 5be46c9852
27 changed files with 370 additions and 32 deletions
+3 -1
View File
@@ -45,7 +45,9 @@ DirTpageResult process_dir_tpages(ObjectFileData& data) {
word_idx++;
}
word_idx = ((word_idx + 3) / 4) * 4;
if (data.linked_data.version != GameVersion::Jak3) {
word_idx = ((word_idx + 3) / 4) * 4;
}
ASSERT(word_idx == (int)words.size());
return result;