From 863cb591fe6c3064da1a4d8e392f49dc724b67e8 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Fri, 20 May 2022 18:48:22 -0700 Subject: [PATCH] MainSettings: Make MAIN_CUSTOM_RTC_VALUE default value less magical --- Source/Core/Core/Config/MainSettings.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Config/MainSettings.cpp b/Source/Core/Core/Config/MainSettings.cpp index 4b4b91f43e..2d04ae0727 100644 --- a/Source/Core/Core/Config/MainSettings.cpp +++ b/Source/Core/Core/Config/MainSettings.cpp @@ -200,8 +200,10 @@ GPUDeterminismMode GetGPUDeterminismMode() const Info MAIN_PERF_MAP_DIR{{System::Main, "Core", "PerfMapDir"}, ""}; const Info MAIN_CUSTOM_RTC_ENABLE{{System::Main, "Core", "EnableCustomRTC"}, false}; -// Default to seconds between 1.1.1970 and 1.1.2000 -const Info MAIN_CUSTOM_RTC_VALUE{{System::Main, "Core", "CustomRTCValue"}, 946684800}; +// Measured in seconds since the unix epoch (1.1.1970). Default is 1.1.2000; there are 7 leap years +// between those dates. +const Info MAIN_CUSTOM_RTC_VALUE{{System::Main, "Core", "CustomRTCValue"}, + (30 * 365 + 7) * 24 * 60 * 60}; const Info MAIN_FALLBACK_REGION{{System::Main, "Core", "FallbackRegion"}, GetDefaultRegion()}; const Info MAIN_AUTO_DISC_CHANGE{{System::Main, "Core", "AutoDiscChange"}, false};