summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/Src/Debugger/Debugger_BreakPoints.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/Core/Core/Src/Debugger/Debugger_BreakPoints.cpp b/Source/Core/Core/Src/Debugger/Debugger_BreakPoints.cpp
index e333d3f03c..b40b1a77df 100644
--- a/Source/Core/Core/Src/Debugger/Debugger_BreakPoints.cpp
+++ b/Source/Core/Core/Src/Debugger/Debugger_BreakPoints.cpp
@@ -49,8 +49,9 @@ void TMemCheck::Action(u32 iValue, u32 addr, bool write, int size, u32 pc)
{
if (Log)
{
- const char *copy = Debugger::GetDescription(addr);
- LOG(MEMMAP,"CHK %08x %s%i at %08x (%s)", iValue, write ? "Write" : "Read", size*8, addr, copy);
+ LOG(MEMMAP,"CHK %08x %s%i at %08x (%s)",
+ iValue, write ? "Write" : "Read", size*8, addr,
+ Debugger::GetDescription(addr));
}
if (Break)
CCPU::Break();