general: Demote custom_rtc to regular setting

This commit is contained in:
lat9nq 2021-05-16 01:17:18 -04:00
parent ab2677f0a1
commit 339dc4f806
6 changed files with 30 additions and 58 deletions

View file

@ -173,7 +173,7 @@ struct System::Impl {
const auto current_time = std::chrono::duration_cast<std::chrono::seconds>(
std::chrono::system_clock::now().time_since_epoch());
Settings::values.custom_rtc_differential =
Settings::values.custom_rtc.GetValue().value_or(current_time) - current_time;
Settings::values.custom_rtc.value_or(current_time) - current_time;
// Create a default fs if one doesn't already exist.
if (virtual_filesystem == nullptr)