Skip to content

Commit

Permalink
Merge pull request #7785 from Tilka/patch_editor
Browse files Browse the repository at this point in the history
DolphinQt: limit patch padding to 8
  • Loading branch information
Tilka committed Feb 10, 2019
2 parents 3a36f73 + 03a7071 commit 33e51da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/DolphinQt/Config/NewPatchDialog.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ QGroupBox* NewPatchDialog::CreateEntry(int index)
dword->setChecked(entry_type == PatchEngine::PatchType::Patch32Bit); dword->setChecked(entry_type == PatchEngine::PatchType::Patch32Bit);


offset->setText( offset->setText(
QStringLiteral("%1").arg(m_patch.entries[index].address, 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, 10, 16, QLatin1Char('0'))); value->setText(QStringLiteral("%1").arg(m_patch.entries[index].value, 8, 16, QLatin1Char('0')));


return box; return box;
} }
Expand Down

0 comments on commit 33e51da

Please sign in to comment.