[Debugger] When changing memory in viewer, clear memory based of physical address
This commit is contained in:
parent
9dd0b06bd6
commit
d9aedd84eb
|
@ -371,13 +371,9 @@ LRESULT CDebugMemoryView::OnMemoryModified(LPNMHDR lpNMHDR)
|
|||
ProtectMemory(ROM, g_Rom->GetRomSize(), MEM_READONLY);
|
||||
}
|
||||
}
|
||||
if (g_Recompiler != NULL && m_DataVAddrr)
|
||||
if (g_Recompiler != NULL)
|
||||
{
|
||||
g_Recompiler->ClearRecompCode_Virt((m_DataStartLoc + Pos) & ~0xFFF, 0x1000, CRecompiler::Remove_MemViewer);
|
||||
}
|
||||
else if (g_Recompiler != NULL)
|
||||
{
|
||||
g_Recompiler->ClearRecompCode_Phys((m_DataStartLoc + Pos) & ~0xFFF, 0x1000, CRecompiler::Remove_MemViewer);
|
||||
g_Recompiler->ClearRecompCode_Phys(PhysicalAddress & ~0xFFF, 0x1000, CRecompiler::Remove_MemViewer);
|
||||
}
|
||||
}
|
||||
__except_catch()
|
||||
|
|
Loading…
Reference in New Issue