mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 06:39:33 +00: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:
parent
810e6d53f0
commit
39a014353e
7 changed files with 17 additions and 62 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue