| 665 | } |
| 666 | |
| 667 | void DebuggerWindow2::UpdateModuleLabel(uint32 address) |
| 668 | { |
| 669 | if (address == 0) |
| 670 | address = m_disasm_ctrl->GetViewBaseAddress(); |
| 671 | |
| 672 | RPLModule* module = RPLLoader_FindModuleByCodeAddr(address); |
| 673 | if (module && m_module_address != module->regionMappingBase_text.GetMPTR()) |
| 674 | { |
| 675 | m_module_label->SetLabel(wxString::Format("> %s", module->moduleName2.c_str())); |
| 676 | m_module_address = module->regionMappingBase_text.GetMPTR(); |
| 677 | } |
| 678 | else if (address >= mmuRange_CODECAVE.getBase() && address < mmuRange_CODECAVE.getEnd()) |
| 679 | { |
| 680 | m_module_label->SetLabel(wxString::Format("> %s", "Cemu codecave")); |
| 681 | m_module_address = mmuRange_CODECAVE.getBase(); |
| 682 | } |
| 683 | } |
nothing calls this directly
no test coverage detected