diff options
| author | Nicholas Estelami <NEstelami@users.noreply.github.com> | 2022-03-12 15:00:30 -0500 |
|---|---|---|
| committer | M4xw <m4x@m4xw.net> | 2022-03-22 02:38:06 +0100 |
| commit | 4a44470d58275b2d8d0f782dca0e09a51db8fc08 (patch) | |
| tree | 028643ad2e532273704f3734a85f18a5c420a5a8 | |
| parent | 95c95dfde5d5c529c0934d3640149ab635e2e9e5 (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.cpp | 3 |
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); |
