Call CheckDTLB always, only keep result if logging is enabled. Thanks to hrydgard for reviewing my previous commit.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@217 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Maarten ter Huurne 2008-08-14 23:07:08 +00:00
parent 9b676c0a01
commit 9edf51c64f

View File

@ -78,9 +78,12 @@ void Console_Submit(const char *cmd)
sscanf(cmd, "%s %08x", temp, &addr);
if (addr!=0)
{
LOG(CONSOLE, "EA 0x%08x to 0x%08x",
addr, Memory::CheckDTLB(addr, Memory::FLAG_NO_EXCEPTION));
{
#ifdef LOGGING
u32 EA =
#endif
Memory::CheckDTLB(addr, Memory::FLAG_NO_EXCEPTION);
LOG(CONSOLE, "EA 0x%08x to 0x%08x", addr, EA);
}
else
{