summaryrefslogtreecommitdiff
path: root/src/core/settings.h
diff options
context:
space:
mode:
authorGravatar bunnei2019-01-10 17:05:21 -0500
committerGravatar GitHub2019-01-10 17:05:21 -0500
commitc9ef8b0af1a5908822ca0f3bb3b2238018a555e8 (patch)
tree157da486e44b5f7083607159e1bb8bb3e4f20842 /src/core/settings.h
parentMerge pull request #1939 from DarkLordZach/web-applet (diff)
parentsettings: Fix comment structure (diff)
downloadyuzu-c9ef8b0af1a5908822ca0f3bb3b2238018a555e8.tar.gz
yuzu-c9ef8b0af1a5908822ca0f3bb3b2238018a555e8.tar.xz
yuzu-c9ef8b0af1a5908822ca0f3bb3b2238018a555e8.zip
Merge pull request #1959 from DarkLordZach/custom-rtc
settings: Add support for setting the RTC manually
Diffstat (limited to 'src/core/settings.h')
-rw-r--r--src/core/settings.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/settings.h b/src/core/settings.h
index de01b05c0..29ce98983 100644
--- a/src/core/settings.h
+++ b/src/core/settings.h
@@ -6,6 +6,7 @@
6 6
7#include <array> 7#include <array>
8#include <atomic> 8#include <atomic>
9#include <chrono>
9#include <map> 10#include <map>
10#include <optional> 11#include <optional>
11#include <string> 12#include <string>
@@ -350,6 +351,11 @@ struct Values {
350 bool use_docked_mode; 351 bool use_docked_mode;
351 bool enable_nfc; 352 bool enable_nfc;
352 std::optional<u32> rng_seed; 353 std::optional<u32> rng_seed;
354 // Measured in seconds since epoch
355 std::optional<std::chrono::seconds> custom_rtc;
356 // Set on game boot, reset on stop. Seconds difference between current time and `custom_rtc`
357 std::chrono::seconds custom_rtc_differential;
358
353 s32 current_user; 359 s32 current_user;
354 s32 language_index; 360 s32 language_index;
355 361