Core: Replace BOOT_MIOS with an explicit "is MIOS" flag
I didn't know better back then, but the boot type is only supposed to be used for the actual boot params. It shouldn't be used or changed after booting.
This commit is contained in:
1 parent
096399d371
commit
4d2fb9b9ba
4 files changed
+4
-7
No files matched your search
@@ -156,8 +156,7 @@ static std::string DoState(PointerWrap& p)
|
||||
return version_created_by;
|
||||
}
|
||||
|
||||
bool is_wii =
|
||||
SConfig::GetInstance().bWii || SConfig::GetInstance().m_BootType == SConfig::BOOT_MIOS;
|
||||
bool is_wii = SConfig::GetInstance().bWii || SConfig::GetInstance().m_is_mios;
|
||||
const bool is_wii_currently = is_wii;
|
||||
p.Do(is_wii);
|
||||
if (is_wii != is_wii_currently)
|
||||
|
||||
Reference in new issue
Block a user