From ef811c64259f0b83aa72c99bad9d4e48082129f8 Mon Sep 17 00:00:00 2001 From: ameerj <52414509+ameerj@users.noreply.github.com> Date: Sat, 16 Oct 2021 02:07:18 -0400 Subject: settings: Remove std::chrono usage Alleviates the dependency on chrono for all files that include settings.h --- src/common/settings.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/common') diff --git a/src/common/settings.h b/src/common/settings.h index 402339443..9ff4cf85d 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -7,7 +7,6 @@ #include #include #include -#include #include #include #include @@ -487,9 +486,9 @@ struct Values { // System Setting> rng_seed{std::optional(), "rng_seed"}; // Measured in seconds since epoch - std::optional custom_rtc; + std::optional custom_rtc; // Set on game boot, reset on stop. Seconds difference between current time and `custom_rtc` - std::chrono::seconds custom_rtc_differential; + s64 custom_rtc_differential; BasicSetting current_user{0, "current_user"}; RangedSetting language_index{1, 0, 17, "language_index"}; -- cgit v1.2.3