mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-20 17:17:52 -05:00
settings: Use std::chrono::seconds instead of s64 for RTC
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user