diff options
| author | Anthony <Helios747@users.noreply.github.com> | 2019-05-10 19:11:01 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-05-10 19:11:01 -0700 |
| commit | 46561cc242237c22fe24b6c990fbaeaba241f8fd (patch) | |
| tree | f35def2feaa32ec4163fea267863eefefe8cdd7b /Source/Core/DolphinQt/Debugger/MemoryWidget.cpp | |
| parent | e66d25312ea1b0c09140fce8d29fe1744ba71ce4 (diff) | |
| parent | e66547d6e5b992bd9cfbbd49de4c8138fecd064c (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.cpp | 8 |
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(); |
