diff options
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexLoader.cpp b/Source/Core/VideoCommon/VertexLoader.cpp index 5673d1aa90..d186ad9cde 100644 --- a/Source/Core/VideoCommon/VertexLoader.cpp +++ b/Source/Core/VideoCommon/VertexLoader.cpp @@ -25,7 +25,7 @@ u8* g_vertex_manager_write_ptr; static void PosMtx_ReadDirect_UByte(VertexLoader* loader) { - u32 posmtx = DataReadU8() & 0x3f; + u32 posmtx = DataRead<u8>() & 0x3f; if (loader->m_counter < 3) VertexLoaderManager::position_matrix_index[loader->m_counter] = posmtx; DataWrite<u32>(posmtx); @@ -34,7 +34,7 @@ static void PosMtx_ReadDirect_UByte(VertexLoader* loader) static void TexMtx_ReadDirect_UByte(VertexLoader* loader) { - loader->m_curtexmtx[loader->m_texmtxread] = DataReadU8() & 0x3f; + loader->m_curtexmtx[loader->m_texmtxread] = DataRead<u8>() & 0x3f; PRIM_LOG("texmtx%d: %d, ", loader->m_texmtxread, loader->m_curtexmtx[loader->m_texmtxread]); loader->m_texmtxread++; |
