Migrate SConfig::m_is_mios to System.

This commit is contained in:
Admiral H. Curtiss 2024-01-30 03:45:17 +01:00
commit 8d515d407c
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
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())
{