From 058ca2568973777781860b06f406d6904656b57c Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Mon, 8 Apr 2024 18:12:46 -0600 Subject: [PATCH] Fixed unnecesary offset on dlist --- src/factories/DisplayListFactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(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);