It's kind of starting to run

This commit is contained in:
Henrik Rydgard committed 2016-05-07 17:37:19 +02:00
1 parent d399c4a470
commit 4acf85aa06
17 files changed
+309 -80

No files matched your search

+1 -7
View File
@@ -479,13 +479,7 @@ Opcode Read_Opcode_JIT(u32 address)
{
Opcode inst = Opcode(Read_U32(address));
if (MIPS_IS_RUNBLOCK(inst.encoding) && MIPSComp::jit) {
JitBlockCache *bc = MIPSComp::jit->GetBlockCache();
int block_num = bc->GetBlockNumberFromEmuHackOp(inst, true);
if (block_num >= 0) {
return bc->GetOriginalFirstOp(block_num);
} else {
return inst;
}
return MIPSComp::jit->GetOriginalOp(inst);
} else {
return inst;
}