mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
GeckoCodeWidget: Take game ID and revision directly instead of through GameFile.
This commit is contained in:
parent
1fbe56210a
commit
414e0f4598
4 changed files with 14 additions and 12 deletions
|
@ -195,7 +195,10 @@ void CheatsManager::OnStateChanged(Core::State state)
|
|||
|
||||
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"));
|
||||
auto* gecko_code =
|
||||
new GeckoCodeWidget(m_game_file->GetGameID(), m_game_file->GetGameTDBID(),
|
||||
m_game_file->GetRevision(), false);
|
||||
m_tab_widget->insertTab(1, gecko_code, tr("Gecko Codes"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue