mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
lazy fix F3DEX2 light parsing
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user