diff options
| author | degasus <wickmarkus@web.de> | 2013-03-06 18:58:15 +0100 |
|---|---|---|
| committer | degasus <wickmarkus@web.de> | 2013-03-06 18:58:15 +0100 |
| commit | 7158c14d7a1e6c86bfb6602a11d79dbe989cac9d (patch) | |
| tree | 3c47d0e82c101ba28c21513482d97fd6006a8691 /Source/Core/VideoCommon/Src/VertexLoader.cpp | |
| parent | 8d5299c20b69f524b20a8d9451aaf754b36690cc (diff) | |
fix vertexloader without jit
Diffstat (limited to 'Source/Core/VideoCommon/Src/VertexLoader.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VertexLoader.cpp | 5 |
1 files 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 } |
