Fix #5 (lut_RR never getting updated)

This commit is contained in:
fincs 2016-03-25 23:42:15 +01:00
parent 7d42b57289
commit 5c4642cd22

View File

@ -88,7 +88,7 @@ static void C3Di_LightEnvUpdate(C3D_LightEnv* env)
if (env->flags & C3DF_LightEnv_LutDirtyAll) if (env->flags & C3DF_LightEnv_LutDirtyAll)
{ {
for (i = 0; i < 5; i ++) for (i = 0; i < 6; i ++)
{ {
static const u8 lutIds[] = { 0, 1, 3, 4, 5, 6 }; static const u8 lutIds[] = { 0, 1, 3, 4, 5, 6 };
if (!(env->flags & C3DF_LightEnv_LutDirty(i))) continue; if (!(env->flags & C3DF_LightEnv_LutDirty(i))) continue;