Luminous bit is now also dumped in polygon header analysis because shading modes may depend on whether or not lighting is enabled

This commit is contained in:
Bart Trzynadlowski 2016-04-28 13:18:56 +00:00
parent 34e8f00382
commit 7456aa745c

View file

@ -457,7 +457,7 @@ static void TestPolygonHeaderBits(IEmulator *Emu)
0x000000c0, 0x000000c0,
0x000000a0, 0x000000a0,
0xffffff60, 0xffffff60,
0xff8200ff // not sure about contour and luminous 0xff0300ff // not sure about contour and luminous
}; };
// Render separate image for each unknown bit // Render separate image for each unknown bit
g_forceFlushModels = true; g_forceFlushModels = true;
@ -490,7 +490,7 @@ static void TestPolygonHeaderBits(IEmulator *Emu)
contents += " var g_unknown_bits = [" + std::string(Util::Format(",").Join(unknownPolyBits)) + "];\n"; contents += " var g_unknown_bits = [" + std::string(Util::Format(",").Join(unknownPolyBits)) + "];\n";
contents += s_polyAnalysisHTMLEpilogue; contents += s_polyAnalysisHTMLEpilogue;
fs << contents; fs << contents;
printf("Produced %s\n", file.c_str()); printf("Produced: %s\n", file.c_str());
} }
} }