Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix vertexloader without jit
  • Loading branch information
degasus committed Mar 6, 2013
1 parent 8d5299c commit 7158c14
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Source/Core/VideoCommon/Src/VertexLoader.cpp
Expand Up @@ -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()
{
Expand Down Expand Up @@ -205,6 +204,8 @@ VertexLoader::VertexLoader(const TVtxDesc &vtx_desc, const VAT &vtx_attr)
AllocCodeSpace(COMPILED_CODE_SIZE);
CompileVertexTranslator();
WriteProtect();
#else
CompileVertexTranslator();
#endif

}
Expand Down

0 comments on commit 7158c14

Please sign in to comment.