Avoid compile warning if logging is off.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@206 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Maarten ter Huurne 2008-08-14 20:50:14 +00:00
parent 58e2ca0450
commit bcf02be749

View File

@ -49,8 +49,9 @@ void TMemCheck::Action(u32 iValue, u32 addr, bool write, int size, u32 pc)
{ {
if (Log) if (Log)
{ {
const char *copy = Debugger::GetDescription(addr); LOG(MEMMAP,"CHK %08x %s%i at %08x (%s)",
LOG(MEMMAP,"CHK %08x %s%i at %08x (%s)", iValue, write ? "Write" : "Read", size*8, addr, copy); iValue, write ? "Write" : "Read", size*8, addr,
Debugger::GetDescription(addr));
} }
if (Break) if (Break)
CCPU::Break(); CCPU::Break();