Convert vertex loader position cache to std::array

This commit is contained in:
Pokechu22
2022-04-13 16:12:53 -07:00
parent f722bdf7f1
commit 97d0ff58c8
6 changed files with 16 additions and 13 deletions

View File

@ -23,7 +23,7 @@ static void PosMtx_ReadDirect_UByte(VertexLoader* loader)
{
u32 posmtx = DataRead<u8>() & 0x3f;
if (loader->m_counter < 3)
VertexLoaderManager::position_matrix_index[loader->m_counter + 1] = posmtx;
VertexLoaderManager::position_matrix_index_cache[loader->m_counter + 1] = posmtx;
DataWrite<u32>(posmtx);
PRIM_LOG("posmtx: {}, ", posmtx);
}