Properly respect resolveReplacements.

And use the same opcode reading func in armjit as x86jit.
Fixes Star Ocean on Android.
This commit is contained in:
Unknown W. Brackets committed 2014-06-23 08:20:38 -07:00
1 parent ec94498342
commit 24d8a34a0b
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -416,7 +416,7 @@ static Opcode Read_Instruction(u32 address, bool resolveReplacements, Opcode ins
} else {
return inst;
}
} else if (MIPS_IS_REPLACEMENT(inst.encoding)) {
} else if (resolveReplacements && MIPS_IS_REPLACEMENT(inst.encoding)) {
u32 op;
if (GetReplacedOpAt(address, &op)) {
if (MIPS_IS_EMUHACK(op)) {