diff options
| author | Sepalani <sepalani@hotmail.fr> | 2018-01-29 17:58:02 +0100 |
|---|---|---|
| committer | Sepalani <sepalani@hotmail.fr> | 2018-04-28 17:46:51 +0400 |
| commit | 74d4a4478facdbe400def1967abcde07e9f3dde7 (patch) | |
| tree | bdf172ce3d9afa922239d4f040f9869721af9b5a /Source/Core/DolphinWX/Debugger/WatchWindow.cpp | |
| parent | 28138cfde9d0d59f2e66defca43885821fbdacb3 (diff) | |
DebugInterface: Watches methods added
Move Watches to Common
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/WatchWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Debugger/WatchWindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/Debugger/WatchWindow.cpp b/Source/Core/DolphinWX/Debugger/WatchWindow.cpp index 295d5a97a7..25d30517d7 100644 --- a/Source/Core/DolphinWX/Debugger/WatchWindow.cpp +++ b/Source/Core/DolphinWX/Debugger/WatchWindow.cpp @@ -122,7 +122,7 @@ void CWatchWindow::SaveAll() IniFile ini; ini.Load(File::GetUserPath(D_GAMESETTINGS_IDX) + SConfig::GetInstance().GetGameID() + ".ini", false); - ini.SetLines("Watches", PowerPC::watches.GetStrings()); + ini.SetLines("Watches", PowerPC::debug_interface.SaveWatchesToStrings()); ini.Save(File::GetUserPath(D_GAMESETTINGS_IDX) + SConfig::GetInstance().GetGameID() + ".ini"); } @@ -134,7 +134,7 @@ void CWatchWindow::Event_LoadAll(wxCommandEvent& WXUNUSED(event)) void CWatchWindow::LoadAll() { IniFile ini; - Watches::TWatchesStr watches; + std::vector<std::string> watches; if (!ini.Load(File::GetUserPath(D_GAMESETTINGS_IDX) + SConfig::GetInstance().GetGameID() + ".ini", false)) @@ -144,8 +144,8 @@ void CWatchWindow::LoadAll() if (ini.GetLines("Watches", &watches, false)) { - PowerPC::watches.Clear(); - PowerPC::watches.AddFromStrings(watches); + PowerPC::debug_interface.ClearWatches(); + PowerPC::debug_interface.LoadWatchesFromStrings(watches); } NotifyUpdate(); |
