Fix JIT core's block sizes.

Was causing disassembled blocks to be cut off by a few instructions at the end.
This commit is contained in:
Ryan Houdek committed 2015-05-31 14:59:17 -05:00
1 parent 210d7c4d54
commit 6c56cd0c30
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -661,7 +661,7 @@ const u8* JitIL::DoJit(u32 em_address, PPCAnalyst::CodeBuffer *code_buf, JitBloc
// Perform actual code generation
WriteCode(nextPC);
b->codeSize = (u32)(GetCodePtr() - normalEntry);
b->codeSize = (u32)(GetCodePtr() - start);
b->originalSize = code_block.m_num_instructions;
#ifdef JIT_LOG_X86