mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
WX: HiDPI: FrameAUI / Debugger
Changes: - MemoryWindow was cleaned up and gives more feedback on searches. Some bugs were fixed as well: - A complex bug that allowed tearing off tabs and opening multiple copies of a debug panel which lead to segfaults - Another segfault related to right-click menus on code/memory views when those tools were floating in their own window.
This commit is contained in:
parent
f39c301579
commit
27d295ec7e
40 changed files with 1108 additions and 1179 deletions
|
@ -642,10 +642,10 @@ void CFrame::BootGame(const std::string& filename)
|
|||
StartGame(bootfile);
|
||||
if (UseDebugger && g_pCodeWindow)
|
||||
{
|
||||
if (g_pCodeWindow->m_WatchWindow)
|
||||
g_pCodeWindow->m_WatchWindow->LoadAll();
|
||||
if (g_pCodeWindow->m_BreakpointWindow)
|
||||
g_pCodeWindow->m_BreakpointWindow->LoadAll();
|
||||
if (g_pCodeWindow->HasPanel<CWatchWindow>())
|
||||
g_pCodeWindow->GetPanel<CWatchWindow>()->LoadAll();
|
||||
if (g_pCodeWindow->HasPanel<CBreakPointWindow>())
|
||||
g_pCodeWindow->GetPanel<CBreakPointWindow>()->LoadAll();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -842,7 +842,7 @@ void CFrame::OnPlay(wxCommandEvent& WXUNUSED(event))
|
|||
|
||||
wxThread::Sleep(20);
|
||||
g_pCodeWindow->JumpToAddress(PC);
|
||||
g_pCodeWindow->Update();
|
||||
g_pCodeWindow->Repopulate();
|
||||
// Update toolbar with Play/Pause status
|
||||
UpdateGUI();
|
||||
}
|
||||
|
@ -1165,18 +1165,15 @@ void CFrame::DoStop()
|
|||
|
||||
if (UseDebugger && g_pCodeWindow)
|
||||
{
|
||||
if (g_pCodeWindow->m_WatchWindow)
|
||||
{
|
||||
g_pCodeWindow->m_WatchWindow->SaveAll();
|
||||
PowerPC::watches.Clear();
|
||||
}
|
||||
if (g_pCodeWindow->m_BreakpointWindow)
|
||||
{
|
||||
g_pCodeWindow->m_BreakpointWindow->SaveAll();
|
||||
PowerPC::breakpoints.Clear();
|
||||
PowerPC::memchecks.Clear();
|
||||
g_pCodeWindow->m_BreakpointWindow->NotifyUpdate();
|
||||
}
|
||||
if (g_pCodeWindow->HasPanel<CWatchWindow>())
|
||||
g_pCodeWindow->GetPanel<CWatchWindow>()->SaveAll();
|
||||
PowerPC::watches.Clear();
|
||||
if (g_pCodeWindow->HasPanel<CBreakPointWindow>())
|
||||
g_pCodeWindow->GetPanel<CBreakPointWindow>()->SaveAll();
|
||||
PowerPC::breakpoints.Clear();
|
||||
PowerPC::memchecks.Clear();
|
||||
if (g_pCodeWindow->HasPanel<CBreakPointWindow>())
|
||||
g_pCodeWindow->GetPanel<CBreakPointWindow>()->NotifyUpdate();
|
||||
g_symbolDB.Clear();
|
||||
Host_NotifyMapLoaded();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue