VertexLoaderX64: make table lookup deterministic

This commit is contained in:
Tillmann Karras 2015-01-18 16:22:21 +01:00
parent 1855d56f1a
commit 7d0cff05e9
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ void VertexLoaderX64::GenerateVertexLoader()
if (m_VtxDesc.Normal)
{
static const u8 map[] = {7, 6, 15, 14, 0};
static const u8 map[8] = {7, 6, 15, 14};
u8 scaling_exponent = map[m_VtxAttr.NormalFormat];
for (int i = 0; i < (m_VtxAttr.NormalElements ? 3 : 1); i++)