Skip to content
Permalink
Browse files

DolphinQt: limit patch padding to 8

  • Loading branch information...
Tilka committed Feb 5, 2019
1 parent 9729462 commit 03a7071c574471cf76dc18f32b0ffb2a198399dc
Showing with 2 additions and 2 deletions.
  1. +2 −2 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;
}

0 comments on commit 03a7071

Please sign in to comment.
You can’t perform that action at this time.