summaryrefslogtreecommitdiffstats
path: root/src/core/core.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-01-29 15:08:46 +0100
committerGitHub <noreply@github.com>2024-01-29 15:08:46 +0100
commit90cb8529086cddd4487056e5f068552bf6126e64 (patch)
tree2078c8cacf00442ed867a7d7a6cf19bd6d0ae3d2 /src/core/core.cpp
parentMerge pull request #12439 from FireBurn/vkresult (diff)
parentMove time services to new IPC. (diff)
downloadyuzu-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.cpp14
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);
}