Merge pull request #13427 from LillyJadeKatrin/retroachievements-code-approval-fix

Fixed Multi Config Code Approvals
This commit is contained in:
JMC47 2025-03-15 13:57:48 -04:00 committed by GitHub
commit 225039f742
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 61 additions and 58 deletions

View file

@ -115,7 +115,7 @@ void ARCodeWidget::OnItemChanged(QListWidgetItem* item)
m_ar_codes[m_code_list->row(item)].enabled = (item->checkState() == Qt::Checked);
if (!m_restart_required)
ActionReplay::ApplyCodes(m_ar_codes, m_game_id);
ActionReplay::ApplyCodes(m_ar_codes, m_game_id, m_game_revision);
UpdateList();
SaveCodes();

View file

@ -202,7 +202,7 @@ void GeckoCodeWidget::OnItemChanged(QListWidgetItem* item)
m_gecko_codes[index].enabled = (item->checkState() == Qt::Checked);
if (!m_restart_required)
Gecko::SetActiveCodes(m_gecko_codes, m_game_id);
Gecko::SetActiveCodes(m_gecko_codes, m_game_id, m_game_revision);
SaveCodes();
}