diff options
author | Fernando S <fsahmkow27@gmail.com> | 2024-02-02 15:10:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 15:10:46 +0100 |
commit | 6baf965777145fd9c76bd06a3c140afa46a50e87 (patch) | |
tree | 52a9b8ea293bb9b378e7e662b92e9c56d1f87d4c /src/core/hle/service/glue/time/time_zone.cpp | |
parent | Merge pull request #12845 from liamwhite/notif (diff) | |
parent | service: use const references for input raw data (diff) | |
download | yuzu-6baf965777145fd9c76bd06a3c140afa46a50e87.tar yuzu-6baf965777145fd9c76bd06a3c140afa46a50e87.tar.gz yuzu-6baf965777145fd9c76bd06a3c140afa46a50e87.tar.bz2 yuzu-6baf965777145fd9c76bd06a3c140afa46a50e87.tar.lz yuzu-6baf965777145fd9c76bd06a3c140afa46a50e87.tar.xz yuzu-6baf965777145fd9c76bd06a3c140afa46a50e87.tar.zst yuzu-6baf965777145fd9c76bd06a3c140afa46a50e87.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/glue/time/time_zone.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/core/hle/service/glue/time/time_zone.cpp b/src/core/hle/service/glue/time/time_zone.cpp index 98d928697..36f163419 100644 --- a/src/core/hle/service/glue/time/time_zone.cpp +++ b/src/core/hle/service/glue/time/time_zone.cpp @@ -62,7 +62,8 @@ Result TimeZoneService::GetDeviceLocationName( R_RETURN(m_wrapped_service->GetDeviceLocationName(out_location_name)); } -Result TimeZoneService::SetDeviceLocationName(Service::PSC::Time::LocationName& location_name) { +Result TimeZoneService::SetDeviceLocationName( + const Service::PSC::Time::LocationName& location_name) { LOG_DEBUG(Service_Time, "called. location_name={}", location_name); R_UNLESS(m_can_write_timezone_device_location, Service::PSC::Time::ResultPermissionDenied); @@ -110,7 +111,8 @@ Result TimeZoneService::LoadLocationNameList( R_RETURN(GetTimeZoneLocationList(*out_count, out_names, out_names.size(), index)); } -Result TimeZoneService::LoadTimeZoneRule(OutRule out_rule, Service::PSC::Time::LocationName& name) { +Result TimeZoneService::LoadTimeZoneRule(OutRule out_rule, + const Service::PSC::Time::LocationName& name) { LOG_DEBUG(Service_Time, "called. name={}", name); std::scoped_lock l{m_mutex}; @@ -139,7 +141,8 @@ Result TimeZoneService::GetDeviceLocationNameAndUpdatedTime( } Result TimeZoneService::SetDeviceLocationNameWithTimeZoneRule( - Service::PSC::Time::LocationName& location_name, InBuffer<BufferAttr_HipcAutoSelect> binary) { + const Service::PSC::Time::LocationName& location_name, + InBuffer<BufferAttr_HipcAutoSelect> binary) { LOG_DEBUG(Service_Time, "called. location_name={}", location_name); R_UNLESS(m_can_write_timezone_device_location, Service::PSC::Time::ResultPermissionDenied); |