summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Estelami <NEstelami@users.noreply.github.com>2022-03-12 15:00:30 -0500
committerM4xw <m4x@m4xw.net>2022-03-22 02:38:06 +0100
commit4a44470d58275b2d8d0f782dca0e09a51db8fc08 (patch)
tree028643ad2e532273704f3734a85f18a5c420a5a8
parent95c95dfde5d5c529c0934d3640149ab635e2e9e5 (diff)
- 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.
-rw-r--r--OTRExporter/DisplayListExporter.cpp3
1 files changed, 2 insertions, 1 deletions
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);