diff options
author | bunnei <bunneidev@gmail.com> | 2021-10-19 18:55:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-19 18:55:50 +0200 |
commit | c871320760ed050168fd74969a6ef9fba3cf535c (patch) | |
tree | 7127f59acb371f15b80b143ffb0d4bcda28f035e /src/common | |
parent | Merge pull request #7173 from Morph1984/invalidate-unmap (diff) | |
parent | settings: Remove std::chrono usage (diff) | |
download | yuzu-c871320760ed050168fd74969a6ef9fba3cf535c.tar yuzu-c871320760ed050168fd74969a6ef9fba3cf535c.tar.gz yuzu-c871320760ed050168fd74969a6ef9fba3cf535c.tar.bz2 yuzu-c871320760ed050168fd74969a6ef9fba3cf535c.tar.lz yuzu-c871320760ed050168fd74969a6ef9fba3cf535c.tar.xz yuzu-c871320760ed050168fd74969a6ef9fba3cf535c.tar.zst yuzu-c871320760ed050168fd74969a6ef9fba3cf535c.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/settings.h | 5 |
1 files changed, 2 insertions, 3 deletions
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 <algorithm> #include <array> #include <atomic> -#include <chrono> #include <map> #include <optional> #include <string> @@ -487,9 +486,9 @@ struct Values { // System Setting<std::optional<u32>> rng_seed{std::optional<u32>(), "rng_seed"}; // Measured in seconds since epoch - std::optional<std::chrono::seconds> custom_rtc; + std::optional<s64> 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<s32> current_user{0, "current_user"}; RangedSetting<s32> language_index{1, 0, 17, "language_index"}; |