mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
ARCodeWidget: Take game ID and revision directly instead of through GameFile.
This commit is contained in:
@ -193,7 +193,7 @@ void CheatsManager::OnStateChanged(Core::State state)
|
||||
if (m_ar_code)
|
||||
m_ar_code->deleteLater();
|
||||
|
||||
m_ar_code = new ARCodeWidget(*m_game_file, false);
|
||||
m_ar_code = new ARCodeWidget(m_game_file->GetGameID(), m_game_file->GetRevision(), false);
|
||||
m_tab_widget->insertTab(0, m_ar_code, tr("AR Code"));
|
||||
m_tab_widget->insertTab(1, new GeckoCodeWidget(*m_game_file, false), tr("Gecko Codes"));
|
||||
}
|
||||
|
Reference in New Issue
Block a user