little fix for my last commit

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6882 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Rodolfo Osvaldo Bogado 2011-01-19 15:32:33 +00:00
parent 0416a1b567
commit 6de5f6c3d1

View file

@ -131,8 +131,8 @@ inline void ReadDirectS8()
inline void ReadDirectS16() inline void ReadDirectS16()
{ {
((float*)VertexManager::s_pCurBufferPointer)[0] = ((s16)DataReadU16()) * S16FRAC; ((float*)VertexManager::s_pCurBufferPointer)[0] = ((s16)DataReadU16()) * S16FRAC;
((float*)VertexManager::s_pCurBufferPointer)[0] = ((s16)DataReadU16()) * S16FRAC; ((float*)VertexManager::s_pCurBufferPointer)[1] = ((s16)DataReadU16()) * S16FRAC;
((float*)VertexManager::s_pCurBufferPointer)[0] = ((s16)DataReadU16()) * S16FRAC; ((float*)VertexManager::s_pCurBufferPointer)[2] = ((s16)DataReadU16()) * S16FRAC;
VertexManager::s_pCurBufferPointer += 12; VertexManager::s_pCurBufferPointer += 12;
LOG_NORM16() LOG_NORM16()
} }