fix settings
This commit is contained in:
@@ -305,6 +305,21 @@ ISystemSettingsServer::ISystemSettingsServer(Core::System& system_)
|
|||||||
RegisterHandlers(functions);
|
RegisterHandlers(functions);
|
||||||
|
|
||||||
SetupSettings();
|
SetupSettings();
|
||||||
|
|
||||||
|
Time::Clock::SteadyClockTimePoint timestamp{
|
||||||
|
.time_point = 1691079299,
|
||||||
|
.clock_source_id = Common::UUID::MakeRandom(),
|
||||||
|
};
|
||||||
|
EulaVersion eula_version{
|
||||||
|
.version = 65536,
|
||||||
|
.region_code = RegionCode::Usa,
|
||||||
|
.clock_type = EulaVersionClockType::SteadyClock,
|
||||||
|
.posix_time = 4575657222473777152,
|
||||||
|
.timestamp = timestamp,
|
||||||
|
};
|
||||||
|
m_system_settings.eula_versions[0] = eula_version;
|
||||||
|
m_system_settings.eula_version_count = 1;
|
||||||
|
|
||||||
m_save_thread =
|
m_save_thread =
|
||||||
std::jthread([this](std::stop_token stop_token) { StoreSettingsThreadFunc(stop_token); });
|
std::jthread([this](std::stop_token stop_token) { StoreSettingsThreadFunc(stop_token); });
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user