2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 00:27:42 +00:00

VISIGen linux fixes

This commit is contained in:
Jack Andersen
2017-02-25 21:06:46 -10:00
parent 7bbf8852de
commit e0e966b241
4 changed files with 19 additions and 17 deletions

View File

@@ -28,7 +28,7 @@ EPVSVisSetState CPVSVisSet::GetVisible(u32 idx) const
}
/* This is a light lookup */
u32 lightTest = idx - numFeatures + x4_numBits;
u32 lightTest = idx - numFeatures + idx;
const u8* ptr = &x10_ptr[lightTest / 8];
lightTest &= 0x7;
if (lightTest != 0x7)