Split out code for serializing/deserializing cheat lines
This commit is contained in:
1 parent
fb96ecb7da
commit
b90008aadb
8 files changed
+149
-155
No files matched your search
@@ -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