diff options
author | Liam <byteslice@airmail.cc> | 2024-01-30 08:27:27 +0100 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2024-02-01 18:57:54 +0100 |
commit | 35e3c6802832f7396a04603edca9434acc6d3972 (patch) | |
tree | 52eaad3e62761c3c0a5738620f4201322de6fc3f /src/core/hle/service/psc/time/time_zone.cpp | |
parent | Merge pull request #12878 from zhaobot/tx-update-20240201020554 (diff) | |
download | yuzu-35e3c6802832f7396a04603edca9434acc6d3972.tar yuzu-35e3c6802832f7396a04603edca9434acc6d3972.tar.gz yuzu-35e3c6802832f7396a04603edca9434acc6d3972.tar.bz2 yuzu-35e3c6802832f7396a04603edca9434acc6d3972.tar.lz yuzu-35e3c6802832f7396a04603edca9434acc6d3972.tar.xz yuzu-35e3c6802832f7396a04603edca9434acc6d3972.tar.zst yuzu-35e3c6802832f7396a04603edca9434acc6d3972.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/psc/time/time_zone.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/psc/time/time_zone.cpp b/src/core/hle/service/psc/time/time_zone.cpp index cc855c763..81bfb9092 100644 --- a/src/core/hle/service/psc/time/time_zone.cpp +++ b/src/core/hle/service/psc/time/time_zone.cpp @@ -55,7 +55,7 @@ constexpr bool GetTimeZoneTime(s64& out_time, const Tz::Rule& rule, s64 time, s3 } } // namespace -void TimeZone::SetTimePoint(SteadyClockTimePoint& time_point) { +void TimeZone::SetTimePoint(const SteadyClockTimePoint& time_point) { std::scoped_lock l{m_mutex}; m_steady_clock_time_point = time_point; } @@ -65,7 +65,7 @@ void TimeZone::SetTotalLocationNameCount(u32 count) { m_total_location_name_count = count; } -void TimeZone::SetRuleVersion(RuleVersion& rule_version) { +void TimeZone::SetRuleVersion(const RuleVersion& rule_version) { std::scoped_lock l{m_mutex}; m_rule_version = rule_version; } @@ -123,7 +123,7 @@ Result TimeZone::ToCalendarTimeWithMyRule(CalendarTime& calendar_time, R_RETURN(ToCalendarTimeImpl(calendar_time, calendar_additional, time, m_my_rule)); } -Result TimeZone::ParseBinary(LocationName& name, std::span<const u8> binary) { +Result TimeZone::ParseBinary(const LocationName& name, std::span<const u8> binary) { std::scoped_lock l{m_mutex}; Tz::Rule tmp_rule{}; |