From 4a44470d58275b2d8d0f782dca0e09a51db8fc08 Mon Sep 17 00:00:00 2001 From: Nicholas Estelami Date: Sat, 12 Mar 2022 15:00:30 -0500 Subject: - Further optimized display list rendering by caching resource manager call results. A patch system is used to undo those changes when the referenced resources are freed. --- OTRExporter/DisplayListExporter.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OTRExporter/DisplayListExporter.cpp b/OTRExporter/DisplayListExporter.cpp index 49b796f..4fdcec1 100644 --- a/OTRExporter/DisplayListExporter.cpp +++ b/OTRExporter/DisplayListExporter.cpp @@ -712,7 +712,8 @@ void OTRExporter_DisplayList::Save(ZResource* res, const fs::path& outPath, Bina Gfx value = gsDPSetTextureImage(fmt, siz, www - 1, __); word0 = value.words.w0 & 0x00FFFFFF; word0 += (G_SETTIMG_OTR << 24); - word1 = value.words.w1; + //word1 = value.words.w1; + word1 = 0; writer->Write(word0); writer->Write(word1); -- cgit v1.2.3