summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-10-16 08:07:18 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-10-17 06:37:49 +0200
commitef811c64259f0b83aa72c99bad9d4e48082129f8 (patch)
tree68a10f30c76c06fe2cbd7893d6481e7372e57613 /src/common
parentMerge pull request #7190 from Morph1984/missing-ui-main (diff)
downloadyuzu-ef811c64259f0b83aa72c99bad9d4e48082129f8.tar
yuzu-ef811c64259f0b83aa72c99bad9d4e48082129f8.tar.gz
yuzu-ef811c64259f0b83aa72c99bad9d4e48082129f8.tar.bz2
yuzu-ef811c64259f0b83aa72c99bad9d4e48082129f8.tar.lz
yuzu-ef811c64259f0b83aa72c99bad9d4e48082129f8.tar.xz
yuzu-ef811c64259f0b83aa72c99bad9d4e48082129f8.tar.zst
yuzu-ef811c64259f0b83aa72c99bad9d4e48082129f8.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.h5
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"};