summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2019-05-11 00:16:27 +0200
committerLéo Lam <leo@innovatetechnologi.es>2019-05-11 00:16:27 +0200
commite66547d6e5b992bd9cfbbd49de4c8138fecd064c (patch)
treef9df67d73c537d5edd39eece541359b6ad02c88e /Source/Core
parentd00711b34fbbf0c03ba3313b44a425680e2e6d41 (diff)
Qt: Fix AddressSpace::WriteXXX parameter order mixup
Diffstat (limited to 'Source/Core')
-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();