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.h | |
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.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/hle/service/glue/time/time_zone.h b/src/core/hle/service/glue/time/time_zone.h index 9c1530966..beb54ddde 100644 --- a/src/core/hle/service/glue/time/time_zone.h +++ b/src/core/hle/service/glue/time/time_zone.h @@ -46,18 +46,20 @@ public: ~TimeZoneService() override; Result GetDeviceLocationName(Out<Service::PSC::Time::LocationName> out_location_name); - Result SetDeviceLocationName(Service::PSC::Time::LocationName& location_name); + Result SetDeviceLocationName(const Service::PSC::Time::LocationName& location_name); Result GetTotalLocationNameCount(Out<u32> out_count); Result LoadLocationNameList( Out<u32> out_count, OutArray<Service::PSC::Time::LocationName, BufferAttr_HipcMapAlias> out_names, u32 index); - Result LoadTimeZoneRule(OutRule out_rule, Service::PSC::Time::LocationName& location_name); + Result LoadTimeZoneRule(OutRule out_rule, + const Service::PSC::Time::LocationName& location_name); Result GetTimeZoneRuleVersion(Out<Service::PSC::Time::RuleVersion> out_rule_version); Result GetDeviceLocationNameAndUpdatedTime( Out<Service::PSC::Time::LocationName> location_name, Out<Service::PSC::Time::SteadyClockTimePoint> out_time_point); - Result SetDeviceLocationNameWithTimeZoneRule(Service::PSC::Time::LocationName& location_name, - InBuffer<BufferAttr_HipcAutoSelect> binary); + Result SetDeviceLocationNameWithTimeZoneRule( + const Service::PSC::Time::LocationName& location_name, + InBuffer<BufferAttr_HipcAutoSelect> binary); Result ParseTimeZoneBinary(OutRule out_rule, InBuffer<BufferAttr_HipcAutoSelect> binary); Result GetDeviceLocationNameOperationEventReadableHandle( OutCopyHandle<Kernel::KReadableEvent> out_event); |