From 7158c14d7a1e6c86bfb6602a11d79dbe989cac9d Mon Sep 17 00:00:00 2001 From: degasus Date: Wed, 6 Mar 2013 18:58:15 +0100 Subject: [PATCH] fix vertexloader without jit --- Source/Core/VideoCommon/Src/VertexLoader.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/Src/VertexLoader.cpp b/Source/Core/VideoCommon/Src/VertexLoader.cpp index 6c85324ba8..dd8f41c25d 100644 --- a/Source/Core/VideoCommon/Src/VertexLoader.cpp +++ b/Source/Core/VideoCommon/Src/VertexLoader.cpp @@ -87,9 +87,8 @@ static const float fractionTable[32] = { 1.0f / (1U << 24), 1.0f / (1U << 25), 1.0f / (1U << 26), 1.0f / (1U << 27), 1.0f / (1U << 28), 1.0f / (1U << 29), 1.0f / (1U << 30), 1.0f / (1U << 31), }; -#ifdef USE_JIT + using namespace Gen; -#endif void LOADERDECL PosMtx_ReadDirect_UByte() { @@ -205,6 +204,8 @@ VertexLoader::VertexLoader(const TVtxDesc &vtx_desc, const VAT &vtx_attr) AllocCodeSpace(COMPILED_CODE_SIZE); CompileVertexTranslator(); WriteProtect(); + #else + CompileVertexTranslator(); #endif }