diff --git a/GPU/GLES/VertexDecoder.cpp b/GPU/GLES/VertexDecoder.cpp index 95ad94e04c..d4fb2a1985 100644 --- a/GPU/GLES/VertexDecoder.cpp +++ b/GPU/GLES/VertexDecoder.cpp @@ -878,7 +878,7 @@ int VertexDecoder::ToString(char *output) const { } VertexDecoderJitCache::VertexDecoderJitCache() { - // 64k should be enough. + // 256k should be enough. AllocCodeSpace(1024 * 64 * 4); // Add some random code to "help" MSVC's buggy disassembler :( @@ -982,7 +982,7 @@ static const JitLookup jitLookup[] = { JittedVertexDecoder VertexDecoderJitCache::Compile(const VertexDecoder &dec) { dec_ = &dec; - const u8 *start = this->GetCodePtr(); + const u8 *start = AlignCode16(); bool prescaleStep = false; bool skinning = false; diff --git a/native b/native index cf895f95d7..60eb1a1de8 160000 --- a/native +++ b/native @@ -1 +1 @@ -Subproject commit cf895f95d7ae75d4535cf252687fd4f9c4f1663b +Subproject commit 60eb1a1de846b0a14b321f307668090f977e6efb