summaryrefslogtreecommitdiff
path: root/src/factories/DisplayListFactory.cpp
diff options
context:
space:
mode:
authorKiritoDv <kiritodev01@gmail.com>2024-04-01 23:13:43 -0600
committerKiritoDv <kiritodev01@gmail.com>2024-04-01 23:13:43 -0600
commitb90af0cb29d7047b3c815ccf2d2cc1d85ead6380 (patch)
treee970a15a35db28e494682c6a2a3c10bdb315d7be /src/factories/DisplayListFactory.cpp
parentc567193d17d7fb9b706d5ca2d000520def55f3f8 (diff)
Bswapped textures and dlists
Diffstat (limited to 'src/factories/DisplayListFactory.cpp')
-rw-r--r--src/factories/DisplayListFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/factories/DisplayListFactory.cpp b/src/factories/DisplayListFactory.cpp
index b5d71dd..8d67392 100644
--- a/src/factories/DisplayListFactory.cpp
+++ b/src/factories/DisplayListFactory.cpp
@@ -303,8 +303,8 @@ std::optional<std::shared_ptr<IParsedData>> DListFactory::parse(std::vector<uint
auto processing = true;
while (processing){
- auto w0 = reader.ReadUInt32();
- auto w1 = reader.ReadUInt32();
+ auto w0 = BSWAP32(reader.ReadUInt32());
+ auto w1 = BSWAP32(reader.ReadUInt32());
uint8_t opcode = w0 >> 24;