Fix linux build and various warnings.

Increase savestate version.
This commit is contained in:
crudelios
2014-09-16 20:18:15 +01:00
parent 2d4b7e3f3f
commit 47c67f014f
4 changed files with 16 additions and 17 deletions

View File

@ -93,8 +93,6 @@ void LOADERDECL Update()
if (g_VtxDesc.Normal != NOT_PRESENT)
{
// Feed normal input data and transform
myVat.g0.NormalIndex3;
memcpy((u8 *)myVertex.normal, bufferPos + vertexDecl.normals[0].offset, sizeof(float) * 3 * ((myVat.g0.NormalElements) ? 3 : 1));
TransformUnit::TransformNormal(&myVertex, myVat.g0.NormalElements, outVertex);