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

@ -335,9 +335,9 @@ private:
DiscIO::Region* region;
};
bool SConfig::SetPathsAndGameMetadata(const BootParameters& boot)
bool SConfig::SetPathsAndGameMetadata(Core::System& system, const BootParameters& boot)
{
m_is_mios = false;
system.SetIsMIOS(false);
m_disc_booted_from_game_list = false;
if (!std::visit(SetGameMetadata(this, &m_region), boot.parameters))
return false;