mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Merge pull request #4284 from leoetlino/memview-crash-fix
MemoryView: Don't segfault if Core isn't running
This commit is contained in:
@ -312,11 +312,11 @@ void CMemoryView::OnPaint(wxPaintEvent& event)
|
||||
dc.SetTextForeground(*wxBLACK);
|
||||
}
|
||||
|
||||
if (!PowerPC::HostIsRAMAddress(address))
|
||||
continue;
|
||||
|
||||
if (debugger->IsAlive())
|
||||
{
|
||||
if (!PowerPC::HostIsRAMAddress(address))
|
||||
continue;
|
||||
|
||||
std::string dis;
|
||||
u32 mem_data = debugger->ReadExtraMemory(memory, address);
|
||||
|
||||
|
Reference in New Issue
Block a user