mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-20 14:11:42 +00:00
Merge pull request #16796 from unknownbrackets/icache-typo
jit: Fix reporting of icache invalidate near PC
This commit is contained in:
commit
6dc930feb7
@ -124,7 +124,7 @@ namespace MIPSInt
|
||||
WARN_LOG_REPORT(JIT, "Unaligned icache invalidation of %08x (%08x + %d) at PC=%08x", addr, R(rs), imm, PC);
|
||||
reportedAlignment = true;
|
||||
}
|
||||
if (alignedAddr <= PC + 4 && alignedAddr + size < PC + 4) {
|
||||
if (alignedAddr <= PC + 4 && alignedAddr + size >= PC - 4) {
|
||||
// This is probably rare so we don't use a static bool.
|
||||
WARN_LOG_REPORT_ONCE(icacheInvalidatePC, JIT, "Invalidating address near PC: %08x (%08x + %d) at PC=%08x", addr, R(rs), imm, PC);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user