mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-21 03:54:57 +00:00
DolphinWX: Fix the memory view in the debugger
This commit is contained in:
parent
124df2e134
commit
dc65ef33ba
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "Common/CommonTypes.h"
|
||||
#include "Common/DebugInterface.h"
|
||||
#include "Common/StringUtil.h"
|
||||
#include "Core/HW/Memmap.h"
|
||||
#include "DolphinWX/Globals.h"
|
||||
#include "DolphinWX/WxUtils.h"
|
||||
#include "DolphinWX/Debugger/DebuggerUIUtil.h"
|
||||
|
@ -310,6 +311,9 @@ void CMemoryView::OnPaint(wxPaintEvent& event)
|
|||
dc.SetTextForeground(*wxBLACK);
|
||||
}
|
||||
|
||||
if (!Memory::IsRAMAddress(address))
|
||||
continue;
|
||||
|
||||
if (debugger->IsAlive())
|
||||
{
|
||||
std::string dis;
|
||||
|
|
Loading…
Add table
Reference in a new issue