Removing ISO ini presence requirement for reading movie settings

because it's not necessary for running a movie
This commit is contained in:
John Peterson 2013-05-19 19:44:37 +02:00
parent 252edb942d
commit 9a1b9e9b3b
1 changed files with 16 additions and 14 deletions

View File

@ -108,6 +108,15 @@ bool BootCore(const std::string& _rFilename)
game_ini.Get("Core", "HLE_BS2", &StartUp.bHLE_BS2, StartUp.bHLE_BS2);
VideoBackend::ActivateBackend(StartUp.m_strVideoBackend);
// Wii settings
if (StartUp.bWii)
{
// Flush possible changes to SYSCONF to file
SConfig::GetInstance().m_SYSCONF->Save();
}
}
// movie settings
if (Movie::IsPlayingInput() && Movie::IsConfigSaved())
{
StartUp.bCPUThread = Movie::IsDualCore();
@ -122,13 +131,6 @@ bool BootCore(const std::string& _rFilename)
File::Delete("Movie.raw");
}
}
// Wii settings
if (StartUp.bWii)
{
// Flush possible changes to SYSCONF to file
SConfig::GetInstance().m_SYSCONF->Save();
}
}
// Run the game
// Init the core