summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2008-08-14 20:50:14 +0000
committerMaarten ter Huurne <maarten@treewalker.org>2008-08-14 20:50:14 +0000
commitbcf02be749954e73fda43b3bd3ec49fdbe0e406d (patch)
tree4befffa6a9bdd4a6db4ad6b245c2c68bd95f6bf2 /Source
parent58e2ca04503e69d0961d1c1c2477840138da840f (diff)
Avoid compile warning if logging is off.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@206 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-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();