diff options
| author | Matthew Foulds <nokturnusmf@gmail.com> | 2019-11-19 18:47:00 +0000 |
|---|---|---|
| committer | Matthew Foulds <nokturnusmf@gmail.com> | 2019-11-22 19:16:34 +0000 |
| commit | 5b6e7aabcff8e96872bfbb9206cd251697fbddb1 (patch) | |
| tree | c1764ad7e1baa6cf520eb16d2b98a43a4b097938 /Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | |
| parent | d66050375c75ead50894154ee4fd18768d0ba884 (diff) | |
Fixed 11874 (leading 0s ignored by debugger)
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | 2 |
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() |
