make memory breakpoints log the PC when hit.

if the PC makes no sense, it's probably because some HLE has done the access.
perhaps we should wrap accesses from IOS HLE, so that we can trace it? dunno if it presents that much of a problem anymore.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6098 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Shawn Hoffman 2010-08-16 00:13:23 +00:00
parent dac2666236
commit b83d3e8970
1 changed files with 3 additions and 3 deletions

View File

@ -26,9 +26,9 @@ void TMemCheck::Action(DebugInterface *debug_interface, u32 iValue, u32 addr, bo
{ {
if (Log) if (Log)
{ {
DEBUG_LOG(MEMMAP, "CHK %08x %s%i at %08x (%s)", DEBUG_LOG(MEMMAP, "CHK %08x %s%i %08x at %08x (%s)",
iValue, write ? "Write" : "Read", // read or write debug_interface->getPC(),
size*8, addr, // address write ? "Write" : "Read", size*8, iValue, addr, // address
debug_interface->getDescription(addr).c_str() // symbol map description debug_interface->getDescription(addr).c_str() // symbol map description
); );
} }