summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/psc/time/static.h
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/psc/time/static.h
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/psc/time/static.h')
-rw-r--r--src/core/hle/service/psc/time/static.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/core/hle/service/psc/time/static.h b/src/core/hle/service/psc/time/static.h
index 120bab259..e11db8093 100644
--- a/src/core/hle/service/psc/time/static.h
+++ b/src/core/hle/service/psc/time/static.h
@@ -55,18 +55,19 @@ public:
Result GetStandardUserSystemClockAutomaticCorrectionUpdatedTime(
Out<SteadyClockTimePoint> out_time_point);
Result CalculateMonotonicSystemClockBaseTimePoint(Out<s64> out_time,
- SystemClockContext& context);
+ const SystemClockContext& context);
Result GetClockSnapshot(OutClockSnapshot out_snapshot, TimeType type);
Result GetClockSnapshotFromSystemClockContext(TimeType type, OutClockSnapshot out_snapshot,
- SystemClockContext& user_context,
- SystemClockContext& network_context);
+ const SystemClockContext& user_context,
+ const SystemClockContext& network_context);
Result CalculateStandardUserSystemClockDifferenceByUser(Out<s64> out_difference,
InClockSnapshot a, InClockSnapshot b);
Result CalculateSpanBetween(Out<s64> out_time, InClockSnapshot a, InClockSnapshot b);
private:
- Result GetClockSnapshotImpl(OutClockSnapshot out_snapshot, SystemClockContext& user_context,
- SystemClockContext& network_context, TimeType type);
+ Result GetClockSnapshotImpl(OutClockSnapshot out_snapshot,
+ const SystemClockContext& user_context,
+ const SystemClockContext& network_context, TimeType type);
Core::System& m_system;
StaticServiceSetupInfo m_setup_info;