mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
Split out code for serializing/deserializing cheat lines
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user