diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2024-01-29 15:08:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 15:08:46 +0100 |
commit | 90cb8529086cddd4487056e5f068552bf6126e64 (patch) | |
tree | 2078c8cacf00442ed867a7d7a6cf19bd6d0ae3d2 /src/core/core.cpp | |
parent | Merge pull request #12439 from FireBurn/vkresult (diff) | |
parent | Move time services to new IPC. (diff) | |
download | yuzu-90cb8529086cddd4487056e5f068552bf6126e64.tar yuzu-90cb8529086cddd4487056e5f068552bf6126e64.tar.gz yuzu-90cb8529086cddd4487056e5f068552bf6126e64.tar.bz2 yuzu-90cb8529086cddd4487056e5f068552bf6126e64.tar.lz yuzu-90cb8529086cddd4487056e5f068552bf6126e64.tar.xz yuzu-90cb8529086cddd4487056e5f068552bf6126e64.tar.zst yuzu-90cb8529086cddd4487056e5f068552bf6126e64.zip |
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 1b412ac98..11bf8d2f6 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -200,22 +200,22 @@ struct System::Impl { system.ServiceManager().GetService<Service::PSC::Time::StaticService>("time:s", true); std::shared_ptr<Service::PSC::Time::SystemClock> user_clock; - static_service_a->GetStandardUserSystemClock(user_clock); + static_service_a->GetStandardUserSystemClock(&user_clock); std::shared_ptr<Service::PSC::Time::SystemClock> local_clock; - static_service_a->GetStandardLocalSystemClock(local_clock); + static_service_a->GetStandardLocalSystemClock(&local_clock); std::shared_ptr<Service::PSC::Time::SystemClock> network_clock; - static_service_s->GetStandardNetworkSystemClock(network_clock); + static_service_s->GetStandardNetworkSystemClock(&network_clock); std::shared_ptr<Service::Glue::Time::TimeZoneService> timezone_service; - static_service_a->GetTimeZoneService(timezone_service); + static_service_a->GetTimeZoneService(&timezone_service); Service::PSC::Time::LocationName name{}; auto new_name = Settings::GetTimeZoneString(Settings::values.time_zone_index.GetValue()); - std::memcpy(name.name.data(), new_name.data(), std::min(name.name.size(), new_name.size())); + std::memcpy(name.data(), new_name.data(), std::min(name.size(), new_name.size())); - timezone_service->SetDeviceLocation(name); + timezone_service->SetDeviceLocationName(name); u64 time_offset = 0; if (Settings::values.custom_rtc_enabled) { @@ -233,7 +233,7 @@ struct System::Impl { local_clock->SetCurrentTime(new_time); - network_clock->GetSystemClockContext(context); + network_clock->GetSystemClockContext(&context); settings_service->SetNetworkSystemClockContext(context); network_clock->SetCurrentTime(new_time); } |