mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-23 04:41:54 -05:00
Unify the way of setting game ID, title ID, revision
The existing code from ConfigManager, ES and MIOS is merged into a new set of functions called SetRunningGameMetadata.
This commit is contained in:
@@ -415,8 +415,7 @@ void Stop()
|
||||
void RestoreConfig()
|
||||
{
|
||||
SConfig::GetInstance().LoadSettingsFromSysconf();
|
||||
SConfig::GetInstance().m_strGameID = "00000000";
|
||||
SConfig::GetInstance().m_title_id = 0;
|
||||
SConfig::GetInstance().ResetRunningGameMetadata();
|
||||
config_cache.RestoreConfig(&SConfig::GetInstance());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user