mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
Split out code for serializing/deserializing cheat lines
This commit is contained in:
parent
fb96ecb7da
commit
b90008aadb
8 changed files with 149 additions and 155 deletions
|
@ -167,11 +167,7 @@ void GeckoCodeWidget::OnSelectionChanged()
|
|||
m_code_view->clear();
|
||||
|
||||
for (const auto& c : code.codes)
|
||||
{
|
||||
m_code_view->append(QStringLiteral("%1 %2")
|
||||
.arg(c.address, 8, 16, QLatin1Char('0'))
|
||||
.arg(c.data, 8, 16, QLatin1Char('0')));
|
||||
}
|
||||
m_code_view->append(QString::fromStdString(c.original_line));
|
||||
}
|
||||
|
||||
void GeckoCodeWidget::OnItemChanged(QListWidgetItem* item)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue