VideoCommon: use the Light struct in XF memory
This commit is contained in:
1 parent
e642c8d0c1
commit
027baad73b
5 files changed
+22
-26
No files matched your search
@@ -23,7 +23,7 @@ void XFWritten(u32 transferSize, u32 baseAddress)
|
||||
// fix lights so invalid values don't trash the lighting computations
|
||||
if (baseAddress <= 0x067f && topAddress >= 0x0604)
|
||||
{
|
||||
u32* x = xfmem.lights;
|
||||
u32* x = (u32*)xfmem.lights;
|
||||
|
||||
// go through all lights
|
||||
for (int light = 0; light < 8; light++)
|
||||
|
||||
Reference in new issue
Block a user