mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
VertexLoaderUtils: remove simple wrapper functions
This commit is contained in:
parent
ba20f114eb
commit
9f8981c7c0
4 changed files with 17 additions and 54 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue