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
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();
}