mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
DataReader inline for OGL/DX9 and moved to VideoCommon. Large clean up.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@760 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -69,29 +69,6 @@ void VertexLoader::SetVArray(DecodedVArray *_varray)
|
||||
varray = _varray;
|
||||
}
|
||||
|
||||
inline u8 ReadBuffer8()
|
||||
{
|
||||
return g_pDataReader->Read8();
|
||||
}
|
||||
|
||||
inline u16 ReadBuffer16()
|
||||
{
|
||||
//PowerPC byte ordering :(
|
||||
return g_pDataReader->Read16();
|
||||
}
|
||||
|
||||
inline u32 ReadBuffer32()
|
||||
{
|
||||
//PowerPC byte ordering :(
|
||||
return g_pDataReader->Read32();
|
||||
}
|
||||
|
||||
inline float ReadBuffer32F()
|
||||
{
|
||||
u32 temp = g_pDataReader->Read32();
|
||||
return *(float*)(&temp);
|
||||
}
|
||||
|
||||
#include "VertexLoader_MtxIndex.h"
|
||||
#include "VertexLoader_Position.h"
|
||||
#include "VertexLoader_Normal.h"
|
||||
|
Reference in New Issue
Block a user