summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2022-05-21 16:39:17 +0200
committerGitHub <noreply@github.com>2022-05-21 16:39:17 +0200
commit5a4e783bb556a07b62dcfd1547461c50408d7344 (patch)
tree08af070d7b128afd8126c9fa25c6e26cea16cd7a /Source
parent0f2540a0d1133950467845f20b1e003181147781 (diff)
parent863cb591fe6c3064da1a4d8e392f49dc724b67e8 (diff)
Merge pull request #10684 from Pokechu22/custom-rtc-default-value
MainSettings: Make MAIN_CUSTOM_RTC_VALUE default value less magical
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/Config/MainSettings.cpp6
1 files 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<std::string> MAIN_PERF_MAP_DIR{{System::Main, "Core", "PerfMapDir"}, ""};
const Info<bool> MAIN_CUSTOM_RTC_ENABLE{{System::Main, "Core", "EnableCustomRTC"}, false};
-// Default to seconds between 1.1.1970 and 1.1.2000
-const Info<u32> 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<u32> MAIN_CUSTOM_RTC_VALUE{{System::Main, "Core", "CustomRTCValue"},
+ (30 * 365 + 7) * 24 * 60 * 60};
const Info<DiscIO::Region> MAIN_FALLBACK_REGION{{System::Main, "Core", "FallbackRegion"},
GetDefaultRegion()};
const Info<bool> MAIN_AUTO_DISC_CHANGE{{System::Main, "Core", "AutoDiscChange"}, false};