summaryrefslogtreecommitdiff
path: root/src/core/settings.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-12-28 20:24:24 -0500
committerZach Hilman <zachhilman@gmail.com>2019-01-07 19:19:40 -0500
commit05dbb47af51fb00826912155da85469cb74022db (patch)
tree3162febaeb374ee6310491f75d94b2ec4918b5ae /src/core/settings.h
parentdbb1eb9c29e072e77b66efa28ea21e814100d6ee (diff)
settings: Use std::chrono::seconds instead of s64 for RTC
Diffstat (limited to 'src/core/settings.h')
-rw-r--r--src/core/settings.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/settings.h b/src/core/settings.h
index 5b211a716..bb5aafa0c 100644
--- a/src/core/settings.h
+++ b/src/core/settings.h
@@ -6,6 +6,7 @@
#include <array>
#include <atomic>
+#include <chrono>
#include <map>
#include <optional>
#include <string>
@@ -350,9 +351,10 @@ struct Values {
bool use_docked_mode;
bool enable_nfc;
std::optional<u32> rng_seed;
- std::optional<s64> custom_rtc; // Measured in seconds since epoch
- s64 custom_rtc_differential; // Set on game boot, reset on stop. Seconds difference between
- // current time and `custom_rtc`
+ std::optional<std::chrono::seconds> custom_rtc; // Measured in seconds since epoch
+ std::chrono::seconds
+ custom_rtc_differential; // Set on game boot, reset on stop. Seconds difference between
+ // current time and `custom_rtc`
s32 current_user;
s32 language_index;