summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/MemoryWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/MemoryWidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp b/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp
index 5030a8f98e..8629a195ca 100644
--- a/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp
@@ -495,18 +495,18 @@ void MemoryWidget::OnSetValue()
if (value == static_cast<u8>(value))
{
- accessors->WriteU8(static_cast<u8>(value), addr);
+ accessors->WriteU8(addr, static_cast<u8>(value));
}
else if (value == static_cast<u16>(value))
{
- accessors->WriteU16(static_cast<u16>(value), addr);
+ accessors->WriteU16(addr, static_cast<u16>(value));
}
else if (value == static_cast<u32>(value))
{
- accessors->WriteU32(static_cast<u32>(value), addr);
+ accessors->WriteU32(addr, static_cast<u32>(value));
}
else
- accessors->WriteU64(value, addr);
+ accessors->WriteU64(addr, value);
}
Update();