lazy fix F3DEX2 light parsing

This commit is contained in:
AltoXorg
2024-05-13 23:06:52 -06:00
committed by Lywx
parent 4a9e2b9068
commit e236c28bce
+2 -1
View File
@@ -449,7 +449,8 @@ std::optional<std::shared_ptr<IParsedData>> DListFactory::parse(std::vector<uint
index = C0(0, 8);
offset = C0(8, 8) * 8;
if(index == GBI(G_MV_LIGHT)) {
// same thing as above; see macro gSPLight at gbi.h
if(index == GBI(G_MV_LIGHT) && offset == (2 * 24 + 24)) {
light = true;
}
break;