summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMegaMech <MegaMech@users.noreply.github.com>2024-03-12 07:28:46 -0600
committerLywx <kiritodev01@gmail.com>2024-03-12 11:57:30 -0600
commit83adeb4b7f9e746d52c7d35f1964aa59e599a93d (patch)
treeaba3012f40e75638981f25a1e5fe0fa5564347d9
parent5524ab54671903053dac89b65220f8569bf2b4ef (diff)
Update DisplayListFactory.cpp
-rw-r--r--src/factories/DisplayListFactory.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/factories/DisplayListFactory.cpp b/src/factories/DisplayListFactory.cpp
index f300863..46c0f7d 100644
--- a/src/factories/DisplayListFactory.cpp
+++ b/src/factories/DisplayListFactory.cpp
@@ -358,8 +358,8 @@ std::optional<std::shared_ptr<IParsedData>> DListFactory::parse(std::vector<uint
}
}
- // This opcode is generally used as part of multiple macros such as gsSPSetLights1.
- // We need to process gsSPLight which is a subcommand inside G_MOVEMEM (0x03).
+ // This opcode is generally used as part of multiple macros such as gsSPSetLights1.
+ // We need to process gsSPLight which is a subcommand inside G_MOVEMEM (0x03).
if(opcode == GBI(G_MOVEMEM)) {
// 0x03860000 or 0x03880000 subcommand will contain 0x86/0x88 for G_MV_L0 and G_MV_L1. Other subcommands also exist.
uint8_t subcommand = (w0 >> 16) & 0xFF;
@@ -376,8 +376,8 @@ std::optional<std::shared_ptr<IParsedData>> DListFactory::parse(std::vector<uint
}
break;
- // If needing light generation on G_MV_L0 then we'll need to walk the DL ptr forward/backward to check for 0xBC
- // Otherwise mk64 will break.
+ // If needing light generation on G_MV_L0 then we'll need to walk the DL ptr forward/backward to check for 0xBC
+ // Otherwise mk64 will break.
case GBIVersion::f3dex:
offset = w1;