summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp
diff options
context:
space:
mode:
authorAnthony <Helios747@users.noreply.github.com>2019-11-27 15:57:54 -0800
committerGitHub <noreply@github.com>2019-11-27 15:57:54 -0800
commit66ca83e6af394b9c9a53f4e292b3cd3c06e97f03 (patch)
tree583a4bc6067a855ae4458615c95653e935e8766a /Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp
parent41563aed21a26c7147f99a993d5de95e0a96c6e7 (diff)
parent5b6e7aabcff8e96872bfbb9206cd251697fbddb1 (diff)
Merge pull request #8479 from nokturnusmf/master
Fixed #11874 (leading 0s ignored by debugger)
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp
index 86874198af..e33a2a8880 100644
--- a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp
@@ -379,7 +379,7 @@ void MemoryViewWidget::OnCopyHex()
u64 value = accessors->ReadU64(addr);
QApplication::clipboard()->setText(
- QStringLiteral("%1").arg(value, length * 2, 16, QLatin1Char('0')).left(length * 2));
+ QStringLiteral("%1").arg(value, sizeof(u64) * 2, 16, QLatin1Char('0')).left(length * 2));
}
void MemoryViewWidget::OnContextMenu()