summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/MemoryWidget.cpp
diff options
context:
space:
mode:
authorAnthony <Helios747@users.noreply.github.com>2019-05-10 19:11:01 -0700
committerGitHub <noreply@github.com>2019-05-10 19:11:01 -0700
commit46561cc242237c22fe24b6c990fbaeaba241f8fd (patch)
treef35def2feaa32ec4163fea267863eefefe8cdd7b /Source/Core/DolphinQt/Debugger/MemoryWidget.cpp
parente66d25312ea1b0c09140fce8d29fe1744ba71ce4 (diff)
parente66547d6e5b992bd9cfbbd49de4c8138fecd064c (diff)
Merge pull request #8092 from leoetlino/double-switcheroo
Core/AddressSpace & Qt/Debugger: Fix parameter order mixup
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();