mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 16:49:58 -06:00
Config: Port remaining Core settings to new config system (partial).
This commit is contained in:
@ -2028,10 +2028,8 @@ void NetPlayServer::CheckSyncAndStartGame()
|
||||
|
||||
u64 NetPlayServer::GetInitialNetPlayRTC() const
|
||||
{
|
||||
const auto& config = SConfig::GetInstance();
|
||||
|
||||
if (config.bEnableCustomRTC)
|
||||
return config.m_customRTCValue;
|
||||
if (Config::Get(Config::MAIN_CUSTOM_RTC_ENABLE))
|
||||
return Config::Get(Config::MAIN_CUSTOM_RTC_VALUE);
|
||||
|
||||
return Common::Timer::GetLocalTimeSinceJan1970();
|
||||
}
|
||||
|
Reference in New Issue
Block a user