mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
jit: Fix reporting of icache invalidate near PC.
Reversed the check, that's what I get for not testing it.
This commit is contained in:
parent
fb0ed6e165
commit
8341b09087
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue