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 committed 2017-02-03 19:52:25 +01:00
1 parent 2e2eabdfcb
commit 88e0a5e418
6 files changed
+10 -10

No files matched your search

+1
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());
}