JitCache: Get physical addresses from PPCAnalyst.

So we support all kind of degenerated blocks now, not just range+length based ones.
This commit is contained in:
degasus
2017-01-22 16:23:56 +01:00
parent 3529af61c4
commit 70caf447b9
10 changed files with 34 additions and 28 deletions

View File

@ -384,7 +384,7 @@ TryReadInstResult TryReadInstruction(u32 address)
auto tlb_addr = TranslateAddress<FLAG_OPCODE>(address);
if (!tlb_addr.Success())
{
return TryReadInstResult{false, false, 0};
return TryReadInstResult{false, false, 0, 0};
}
else
{
@ -403,7 +403,7 @@ TryReadInstResult TryReadInstruction(u32 address)
{
hex = PowerPC::ppcState.iCache.ReadInstruction(address);
}
return TryReadInstResult{true, from_bat, hex};
return TryReadInstResult{true, from_bat, hex, address};
}
u32 HostRead_Instruction(const u32 address)