summaryrefslogtreecommitdiff
path: root/src/factories/DisplayListFactory.cpp
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2024-08-17 16:40:14 -0600
committerGitHub <noreply@github.com>2024-08-17 16:40:14 -0600
commit0b7901ae85901a21df900265acfdab3870bf6c78 (patch)
tree03169cc1532c34ac0c9bca4a0d23a04bb840386d /src/factories/DisplayListFactory.cpp
parent5d499766c6c1e8dc0a55f927752d1fae0cb1397c (diff)
Update DisplayListFactory.cpp (#150)
Diffstat (limited to 'src/factories/DisplayListFactory.cpp')
-rw-r--r--src/factories/DisplayListFactory.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/factories/DisplayListFactory.cpp b/src/factories/DisplayListFactory.cpp
index 7464d68..623d2a5 100644
--- a/src/factories/DisplayListFactory.cpp
+++ b/src/factories/DisplayListFactory.cpp
@@ -272,8 +272,7 @@ ExportResult DListBinaryExporter::Export(std::ostream &write, std::shared_ptr<IP
SPDLOG_INFO("Found vtx: 0x{:X} Hash: 0x{:X} Path: {}", ptr, hash, std::get<0>(dec.value()));
- // TODO: Find a better way to do this because its going to break on other games
- Gfx value = gsSPVertexOTR(didx, nvtx, 0);
+ Gfx value = gsSPVertexOTR(0, nvtx, didx);
SPDLOG_INFO("gsSPVertex({}, {}, 0x{:X})", nvtx, didx, ptr);