mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-19 19:00:09 +02:00
Simplify logging a bit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5497 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -575,8 +575,10 @@ void CCodeWindow::OnJitMenu(wxCommandEvent& event)
|
||||
str = wxGetTextFromUser(_(""), wxT("Op?"), wxEmptyString, this);
|
||||
for (u32 addr = 0x80000000; addr < 0x80100000; addr += 4) {
|
||||
const char *name = PPCTables::GetInstructionName(Memory::ReadUnchecked_U32(addr));
|
||||
if (name && !strcmp((const char *)str.mb_str(), name))
|
||||
NOTICE_LOG(POWERPC, "Found %s at %08x", str.c_str(), addr);
|
||||
if (name && !strcmp((const char *)str.mb_str(), name)) {
|
||||
std::string mb_str(str.mb_str());
|
||||
NOTICE_LOG(POWERPC, "Found %s at %08x", mb_str.c_str(), addr);
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user