Refactor CP array constants slightly

This commit is contained in:
Pokechu22
2021-03-26 15:46:37 -07:00
parent c915b780cf
commit 51de3d0fd1
9 changed files with 30 additions and 24 deletions

View File

@ -469,7 +469,7 @@ void VertexLoaderX64::GenerateVertexLoader()
{
if (m_VtxDesc.low.Color[i] != VertexComponentFormat::NotPresent)
{
data = GetVertexAddr(ARRAY_COLOR + int(i), m_VtxDesc.low.Color[i]);
data = GetVertexAddr(ARRAY_COLOR0 + int(i), m_VtxDesc.low.Color[i]);
ReadColor(data, m_VtxDesc.low.Color[i], m_VtxAttr.color[i].Comp);
m_native_components |= VB_HAS_COL0 << i;
m_native_vtx_decl.colors[i].components = 4;