mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-18 11:42:36 +00:00
Merge pull request #5005 from aldelaro5/remove-save-load-debug
Don't save watches and breakpoints on stop and load on boot
This commit is contained in:
commit
08351aa334
@ -310,13 +310,6 @@ void CFrame::BootGame(const std::string& filename)
|
|||||||
if (!bootfile.empty())
|
if (!bootfile.empty())
|
||||||
{
|
{
|
||||||
StartGame(bootfile);
|
StartGame(bootfile);
|
||||||
if (UseDebugger && g_pCodeWindow)
|
|
||||||
{
|
|
||||||
if (g_pCodeWindow->HasPanel<CWatchWindow>())
|
|
||||||
g_pCodeWindow->GetPanel<CWatchWindow>()->LoadAll();
|
|
||||||
if (g_pCodeWindow->HasPanel<CBreakPointWindow>())
|
|
||||||
g_pCodeWindow->GetPanel<CBreakPointWindow>()->LoadAll();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -844,11 +837,7 @@ void CFrame::DoStop()
|
|||||||
|
|
||||||
if (UseDebugger && g_pCodeWindow)
|
if (UseDebugger && g_pCodeWindow)
|
||||||
{
|
{
|
||||||
if (g_pCodeWindow->HasPanel<CWatchWindow>())
|
|
||||||
g_pCodeWindow->GetPanel<CWatchWindow>()->SaveAll();
|
|
||||||
PowerPC::watches.Clear();
|
PowerPC::watches.Clear();
|
||||||
if (g_pCodeWindow->HasPanel<CBreakPointWindow>())
|
|
||||||
g_pCodeWindow->GetPanel<CBreakPointWindow>()->SaveAll();
|
|
||||||
PowerPC::breakpoints.Clear();
|
PowerPC::breakpoints.Clear();
|
||||||
PowerPC::memchecks.Clear();
|
PowerPC::memchecks.Clear();
|
||||||
if (g_pCodeWindow->HasPanel<CBreakPointWindow>())
|
if (g_pCodeWindow->HasPanel<CBreakPointWindow>())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user