settings: Add custom RTC settings

Stored as signed seconds since epoch.
This commit is contained in:
Zach Hilman 2018-12-28 18:35:55 -05:00
parent 23ebd4920e
commit c6016856d8
4 changed files with 30 additions and 4 deletions

View file

@ -350,6 +350,9 @@ 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`
s32 current_user;
s32 language_index;