From d080e7e7bd65c38c3d19ee71fad22117e6dede01 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Sun, 26 Mar 2023 22:14:28 +0100 Subject: [PATCH] VTLB: Show rough EE PC when a TLB miss happens --- pcsx2/vtlb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/vtlb.cpp b/pcsx2/vtlb.cpp index 2a9bfe7d49..beb8d61d52 100644 --- a/pcsx2/vtlb.cpp +++ b/pcsx2/vtlb.cpp @@ -466,7 +466,7 @@ static __ri void vtlb_Miss(u32 addr, u32 mode) return; } - const std::string message(fmt::format("TLB Miss, addr=0x{:x} [{}]", addr, mode ? "store" : "load")); + const std::string message(fmt::format("TLB Miss, pc=0x{:x} addr=0x{:x} [{}]", cpuRegs.pc, addr, mode ? "store" : "load")); if (EmuConfig.Cpu.Recompiler.PauseOnTLBMiss) { // Pause, let the user try to figure out what went wrong in the debugger.