Force 5 byte jumps to avoid jump target issues.

Some with 16-bit colors were too far.
This commit is contained in:
Unknown W. Brackets 2013-11-03 17:17:04 -08:00
parent 5d35c58f0e
commit d5337edf1f

View file

@ -1127,7 +1127,7 @@ JittedVertexDecoder VertexDecoderJitCache::Compile(const VertexDecoder &dec) {
ADD(32, R(dstReg), Imm32(dec.decFmt.stride));
#endif
SUB(32, R(counterReg), Imm8(1));
J_CC(CC_NZ, loopStart);
J_CC(CC_NZ, loopStart, true);
#ifdef _M_IX86
// Restore register values