summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/glue/time/static.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-01-30 08:27:27 +0100
committerLiam <byteslice@airmail.cc>2024-02-01 18:57:54 +0100
commit35e3c6802832f7396a04603edca9434acc6d3972 (patch)
tree52eaad3e62761c3c0a5738620f4201322de6fc3f /src/core/hle/service/glue/time/static.cpp
parentMerge pull request #12878 from zhaobot/tx-update-20240201020554 (diff)
downloadyuzu-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 'src/core/hle/service/glue/time/static.cpp')
-rw-r--r--src/core/hle/service/glue/time/static.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/glue/time/static.cpp b/src/core/hle/service/glue/time/static.cpp
index f56db76e1..f8c1218f3 100644
--- a/src/core/hle/service/glue/time/static.cpp
+++ b/src/core/hle/service/glue/time/static.cpp
@@ -200,7 +200,7 @@ Result StaticService::GetStandardUserSystemClockAutomaticCorrectionUpdatedTime(
}
Result StaticService::CalculateMonotonicSystemClockBaseTimePoint(
- Out<s64> out_time, Service::PSC::Time::SystemClockContext& context) {
+ Out<s64> out_time, const Service::PSC::Time::SystemClockContext& context) {
SCOPE_EXIT({ LOG_DEBUG(Service_Time, "called. context={} out_time={}", context, *out_time); });
R_RETURN(m_wrapped_service->CalculateMonotonicSystemClockBaseTimePoint(out_time, context));
@@ -216,8 +216,8 @@ Result StaticService::GetClockSnapshot(OutClockSnapshot out_snapshot,
Result StaticService::GetClockSnapshotFromSystemClockContext(
Service::PSC::Time::TimeType type, OutClockSnapshot out_snapshot,
- Service::PSC::Time::SystemClockContext& user_context,
- Service::PSC::Time::SystemClockContext& network_context) {
+ const Service::PSC::Time::SystemClockContext& user_context,
+ const Service::PSC::Time::SystemClockContext& network_context) {
SCOPE_EXIT({
LOG_DEBUG(Service_Time,
"called. type={} out_snapshot={} user_context={} network_context={}", type,