mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
ARCodeWidget: Take game ID and revision directly instead of through GameFile.
This commit is contained in:
parent
684d09b342
commit
1fbe56210a
4 changed files with 7 additions and 11 deletions
|
@ -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"));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue