mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-27 07:30:06 +00:00
settings: Fix comment structure
This commit is contained in:
parent
05dbb47af5
commit
ac7d8983eb
@ -351,10 +351,11 @@ struct Values {
|
|||||||
bool use_docked_mode;
|
bool use_docked_mode;
|
||||||
bool enable_nfc;
|
bool enable_nfc;
|
||||||
std::optional<u32> rng_seed;
|
std::optional<u32> rng_seed;
|
||||||
std::optional<std::chrono::seconds> custom_rtc; // Measured in seconds since epoch
|
// Measured in seconds since epoch
|
||||||
std::chrono::seconds
|
std::optional<std::chrono::seconds> custom_rtc;
|
||||||
custom_rtc_differential; // Set on game boot, reset on stop. Seconds difference between
|
// Set on game boot, reset on stop. Seconds difference between current time and `custom_rtc`
|
||||||
// current time and `custom_rtc`
|
std::chrono::seconds custom_rtc_differential;
|
||||||
|
|
||||||
s32 current_user;
|
s32 current_user;
|
||||||
s32 language_index;
|
s32 language_index;
|
||||||
|
|
||||||
|
@ -663,7 +663,8 @@ void Config::SaveValues() {
|
|||||||
|
|
||||||
qt_config->setValue("custom_rtc_enabled", Settings::values.custom_rtc.has_value());
|
qt_config->setValue("custom_rtc_enabled", Settings::values.custom_rtc.has_value());
|
||||||
qt_config->setValue("custom_rtc",
|
qt_config->setValue("custom_rtc",
|
||||||
Settings::values.custom_rtc.value_or(std::chrono::seconds{}).count());
|
QVariant::fromValue<long long>(
|
||||||
|
Settings::values.custom_rtc.value_or(std::chrono::seconds{}).count()));
|
||||||
|
|
||||||
qt_config->endGroup();
|
qt_config->endGroup();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user