Don't call Movie::SetTitleId from ES

Movie basically just wants to get the title ID of
the initally booted game, so let's set the title ID in
ConfigManager at boot like we do with the regular game ID.

Aside from being cleaner, this should make the approach to
title IDs compatible with booting non-disc software (WADs).
This commit is contained in:
JosJuice
2017-01-08 16:15:12 +01:00
parent 2e2eabdfcb
commit 88e0a5e418
6 changed files with 10 additions and 10 deletions

View File

@ -405,6 +405,7 @@ void RestoreConfig()
{
SConfig::GetInstance().LoadSettingsFromSysconf();
SConfig::GetInstance().m_strGameID = "00000000";
SConfig::GetInstance().m_title_id = 0;
config_cache.RestoreConfig(&SConfig::GetInstance());
}