mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Play around with function replacement. Turned off by default of course.
This commit is contained in:
1 parent
832c933cb8
commit
2eab4aa1bf
25 files changed
+458
-96
No files matched your search
+3
-1
@@ -173,7 +173,7 @@ void Clear()
|
||||
Opcode Read_Instruction(u32 address)
|
||||
{
|
||||
Opcode inst = Opcode(Read_U32(address));
|
||||
if (MIPS_IS_EMUHACK(inst) && MIPSComp::jit)
|
||||
if (MIPS_IS_RUNBLOCK(inst) && MIPSComp::jit)
|
||||
{
|
||||
JitBlockCache *bc = MIPSComp::jit->GetBlockCache();
|
||||
int block_num = bc->GetBlockNumberFromEmuHackOp(inst, true);
|
||||
@@ -182,6 +182,8 @@ Opcode Read_Instruction(u32 address)
|
||||
} else {
|
||||
return inst;
|
||||
}
|
||||
} else if (MIPS_IS_REPLACEMENT(inst)) {
|
||||
return inst;
|
||||
} else {
|
||||
return inst;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user