diff --git a/GPU/GLES/VertexDecoder.cpp b/GPU/GLES/VertexDecoder.cpp index 52d6773b0a..cb5cbe7bb5 100644 --- a/GPU/GLES/VertexDecoder.cpp +++ b/GPU/GLES/VertexDecoder.cpp @@ -764,8 +764,8 @@ int VertexDecoder::ToString(char *output) const { } VertexDecoderJitCache::VertexDecoderJitCache() { - // 32k should be enough. - AllocCodeSpace(1024 * 32); + // 64k should be enough. + AllocCodeSpace(1024 * 64); // Add some random code to "help" MSVC's buggy disassembler :( #if defined(_WIN32) @@ -1172,7 +1172,6 @@ JittedVertexDecoder VertexDecoderJitCache::Compile(const VertexDecoder &dec) { MOV(32, R(dstReg), MDisp(ESP, 16 + offset + 4)); MOV(32, R(counterReg), MDisp(ESP, 16 + offset + 8)); #endif - // Let's not bother with a proper stack frame. We just grab the arguments and go. JumpTarget loopStart = GetCodePtr(); for (int i = 0; i < dec.numSteps_; i++) { @@ -1227,7 +1226,7 @@ void VertexDecoderJitCache::Jit_WeightsU16() { MOV(16, MDisp(dstReg, dec_->decFmt.w0off + j * 2), R(tempReg1)); } while (j & 3) { - MOV(16, MDisp(dstReg, dec_->decFmt.w0off + j * 2), Imm8(0)); + MOV(16, MDisp(dstReg, dec_->decFmt.w0off + j * 2), Imm16(0)); j++; } } diff --git a/native b/native index d323d59744..8572251198 160000 --- a/native +++ b/native @@ -1 +1 @@ -Subproject commit d323d5974449661e509a054dab891253dd301f27 +Subproject commit 85722511984a96dfe9c3931543fc6566a419ce9d