From e66547d6e5b992bd9cfbbd49de4c8138fecd064c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sat, 11 May 2019 00:16:27 +0200 Subject: [PATCH] Qt: Fix AddressSpace::WriteXXX parameter order mixup --- Source/Core/DolphinQt/Debugger/MemoryWidget.cpp | 8 ++++---- 1 file 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(value)) { - accessors->WriteU8(static_cast(value), addr); + accessors->WriteU8(addr, static_cast(value)); } else if (value == static_cast(value)) { - accessors->WriteU16(static_cast(value), addr); + accessors->WriteU16(addr, static_cast(value)); } else if (value == static_cast(value)) { - accessors->WriteU32(static_cast(value), addr); + accessors->WriteU32(addr, static_cast(value)); } else - accessors->WriteU64(value, addr); + accessors->WriteU64(addr, value); } Update();