Migrate SConfig::m_is_mios to System.

This commit is contained in:
Admiral H. Curtiss
2024-01-30 03:45:17 +01:00
parent e1ec47b504
commit 8d515d407c
7 changed files with 16 additions and 12 deletions

View File

@ -60,13 +60,13 @@ bool BootCore(std::unique_ptr<BootParameters> boot, const WindowSystemInfo& wsi)
if (!boot)
return false;
auto& system = Core::System::GetInstance();
SConfig& StartUp = SConfig::GetInstance();
if (!StartUp.SetPathsAndGameMetadata(*boot))
if (!StartUp.SetPathsAndGameMetadata(system, *boot))
return false;
// Movie settings
auto& system = Core::System::GetInstance();
auto& movie = system.GetMovie();
if (movie.IsPlayingInput() && movie.IsConfigSaved())
{