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

View File

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