summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2024-04-08 18:12:46 -0600
committerKiritoDv <kiritodev01@gmail.com>2024-04-08 18:12:46 -0600
commit058ca2568973777781860b06f406d6904656b57c (patch)
treedf3ae489215e2be21996280e6226b36691eb5031
parent39478397ee83b07390a1cec98aeea242911b33ef (diff)
Fixed unnecesary offset on dlist
-rw-r--r--src/factories/DisplayListFactory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/factories/DisplayListFactory.cpp b/src/factories/DisplayListFactory.cpp
index 2781821..b843cd4 100644
--- a/src/factories/DisplayListFactory.cpp
+++ b/src/factories/DisplayListFactory.cpp
@@ -246,7 +246,7 @@ ExportResult DListBinaryExporter::Export(std::ostream &write, std::shared_ptr<IP
auto count = GetSafeNode<uint32_t>(ovnode, "count");
auto diff = ASSET_PTR(ptr) - ASSET_PTR(offset);
- Gfx value = gsSPVertexOTR(diff / sizeof(Vtx_t), nvtx, didx);
+ Gfx value = gsSPVertexOTR(diff, nvtx, didx);
SPDLOG_INFO("gsSPVertexOTR({}, {}, {})", diff, nvtx, didx);