Force RTC bias to 0 when custom RTC is disabled too
Whether the custom RTC setting is enabled shouldn't in itself
affect determinism (as long as the actual RTC value is properly
synced). Alters the logic added in 4b2906c
.
I'm not entirely certain that this is correct, but the current
code doesn't really make sense to me... If we need to force the
RTC bias to 0 when custom RTC is enabled, why don't we need to
do it when custom RTC is disabled? The code for getting the
host system's current time doesn't contain any special handling
for the guest's RTC bias as far as I can tell.
This commit is contained in:
parent
46dbb455e1
commit
1dfeb73589
|
@ -68,8 +68,7 @@ void SaveToSYSCONF(Config::LayerType layer, std::function<bool(const Config::Loc
|
|||
setting.config_info);
|
||||
}
|
||||
|
||||
if (SConfig::GetInstance().bEnableCustomRTC)
|
||||
sysconf.SetData<u32>("IPL.CB", SysConf::Entry::Type::Long, 0);
|
||||
sysconf.SetData<u32>("IPL.CB", SysConf::Entry::Type::Long, 0);
|
||||
|
||||
// Disable WiiConnect24's standby mode. If it is enabled, it prevents us from receiving
|
||||
// shutdown commands in the State Transition Manager (STM).
|
||||
|
|
|
@ -136,8 +136,7 @@ CEXIIPL::CEXIIPL()
|
|||
// We Overwrite language selection here since it's possible on the GC to change the language as
|
||||
// you please
|
||||
g_SRAM.settings.language = SConfig::GetInstance().SelectedLanguage;
|
||||
if (SConfig::GetInstance().bEnableCustomRTC)
|
||||
g_SRAM.settings.rtc_bias = 0;
|
||||
g_SRAM.settings.rtc_bias = 0;
|
||||
FixSRAMChecksums();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue