diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-06-06 02:41:50 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-21 16:56:07 +0200 |
commit | 413316560784348b8ea2684d272b974fd0428267 (patch) | |
tree | d3a9015a0dcf29744d45d630246a19d1fae83dd9 /src/common/settings.h | |
parent | settings: Pool SetGlobal functions (diff) | |
download | yuzu-413316560784348b8ea2684d272b974fd0428267.tar yuzu-413316560784348b8ea2684d272b974fd0428267.tar.gz yuzu-413316560784348b8ea2684d272b974fd0428267.tar.bz2 yuzu-413316560784348b8ea2684d272b974fd0428267.tar.lz yuzu-413316560784348b8ea2684d272b974fd0428267.tar.xz yuzu-413316560784348b8ea2684d272b974fd0428267.tar.zst yuzu-413316560784348b8ea2684d272b974fd0428267.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/settings.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/settings.h b/src/common/settings.h index 61d15467d..999f8b5be 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -505,10 +505,12 @@ struct Values { SwitchableSetting<u8> bg_blue{0, "bg_blue"}; // System - SwitchableSetting<std::optional<u32>> rng_seed{std::optional<u32>(), "rng_seed"}; + SwitchableSetting<bool> rng_seed_enabled{false, "rng_seed_enabled"}; + SwitchableSetting<u32> rng_seed{0, "rng_seed"}; Setting<std::string> device_name{"Yuzu", "device_name"}; // Measured in seconds since epoch - std::optional<s64> custom_rtc; + SwitchableSetting<bool> custom_rtc_enabled{false, "custom_rtc_enabled"}; + SwitchableSetting<s64> custom_rtc{0, "custom_rtc"}; // Set on game boot, reset on stop. Seconds difference between current time and `custom_rtc` s64 custom_rtc_differential; |