summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/WatchView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/WatchView.cpp')
-rw-r--r--Source/Core/DolphinWX/Debugger/WatchView.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/Debugger/WatchView.cpp b/Source/Core/DolphinWX/Debugger/WatchView.cpp
index 13baf3660a..0ede80bb34 100644
--- a/Source/Core/DolphinWX/Debugger/WatchView.cpp
+++ b/Source/Core/DolphinWX/Debugger/WatchView.cpp
@@ -43,7 +43,7 @@ static u32 GetWatchAddr(int count)
static u32 GetWatchValue(int count)
{
- return Memory::ReadUnchecked_U32(GetWatchAddr(count));
+ return PowerPC::HostRead_U32(GetWatchAddr(count));
}
static void AddWatchAddr(int count, u32 value)
@@ -71,7 +71,7 @@ static void SetWatchName(int count, const std::string& value)
static void SetWatchValue(int count, u32 value)
{
- Memory::WriteUnchecked_U32(value, GetWatchAddr(count));
+ PowerPC::HostWrite_U32(value, GetWatchAddr(count));
}
static wxString GetValueByRowCol(int row, int col)
@@ -102,8 +102,8 @@ static wxString GetValueByRowCol(int row, int col)
case 4:
{
u32 addr = GetWatchAddr(row);
- if (Memory::IsRAMAddress(addr))
- return Memory::GetString(addr, 32).c_str();
+ if (PowerPC::HostIsRAMAddress(addr))
+ return PowerPC::HostGetString(addr, 32).c_str();
else
return wxEmptyString;
}