mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 22:09:19 -07:00
cbb3c55641
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@9 8ced0084-cf51-0410-be5f-012b33b47a6e
25 lines
663 B
C
25 lines
663 B
C
#pragma once
|
|
|
|
#include "Common.h"
|
|
|
|
#include "TransformEngine.h"
|
|
|
|
// ==============================================================================
|
|
// Direct
|
|
// ==============================================================================
|
|
void LOADERDECL PosMtx_ReadDirect_UByte(void* _p)
|
|
{
|
|
TVtxAttr* pVtxAttr = (TVtxAttr*)_p;
|
|
int index = ReadBuffer8() & 0x3f;
|
|
float *flipmem = (float *)xfmem;
|
|
varray->SetPosNrmIdx(index);
|
|
}
|
|
|
|
int s_texmtxread = 0, s_texmtxwrite = 0;
|
|
void LOADERDECL TexMtx_ReadDirect_UByte(void* _p)
|
|
{
|
|
TVtxAttr* pVtxAttr = (TVtxAttr*)_p;
|
|
int index = ReadBuffer8() & 0x3f;
|
|
varray->SetTcIdx(s_texmtxread++, index);
|
|
}
|