settings: Use std::chrono::seconds instead of s64 for RTC
This commit is contained in:
parent
dbb1eb9c29
commit
05dbb47af5
6 changed files with 21 additions and 17 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue