From 03a7071c574471cf76dc18f32b0ffb2a198399dc Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Tue, 5 Feb 2019 04:59:52 +0000 Subject: [PATCH] DolphinQt: limit patch padding to 8 --- Source/Core/DolphinQt/Config/NewPatchDialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinQt/Config/NewPatchDialog.cpp b/Source/Core/DolphinQt/Config/NewPatchDialog.cpp index f49643b043..4b786b693d 100644 --- a/Source/Core/DolphinQt/Config/NewPatchDialog.cpp +++ b/Source/Core/DolphinQt/Config/NewPatchDialog.cpp @@ -181,8 +181,8 @@ QGroupBox* NewPatchDialog::CreateEntry(int index) dword->setChecked(entry_type == PatchEngine::PatchType::Patch32Bit); offset->setText( - QStringLiteral("%1").arg(m_patch.entries[index].address, 10, 16, QLatin1Char('0'))); - value->setText(QStringLiteral("%1").arg(m_patch.entries[index].value, 10, 16, QLatin1Char('0'))); + QStringLiteral("%1").arg(m_patch.entries[index].address, 8, 16, QLatin1Char('0'))); + value->setText(QStringLiteral("%1").arg(m_patch.entries[index].value, 8, 16, QLatin1Char('0'))); return box; }