CheatsManager: Use game information directly from SConfig, and only recreate widgets if game changes.

This commit is contained in:
Admiral H. Curtiss
2021-06-06 21:56:34 +02:00
parent 414e0f4598
commit 441d304317
4 changed files with 31 additions and 29 deletions

View File

@ -191,6 +191,7 @@ struct SConfig
bool m_disc_booted_from_game_list = false;
const std::string& GetGameID() const { return m_game_id; }
const std::string& GetGameTDBID() const { return m_gametdb_id; }
const std::string& GetTitleName() const { return m_title_name; }
const std::string& GetTitleDescription() const { return m_title_description; }
u64 GetTitleID() const { return m_title_id; }