summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/psc/time/steady_clock.h
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2024-01-26 16:29:04 +0100
committerKelebek1 <eeeedddccc@hotmail.co.uk>2024-01-27 04:30:09 +0100
commitda410506a401abc853ee23e56ca1e25eb47cd6e6 (patch)
tree6a42e537b6bfbdb460e7f542e4731fc5cad40dd8 /src/core/hle/service/psc/time/steady_clock.h
parentMerge pull request #12808 from t895/uri-moment (diff)
downloadyuzu-da410506a401abc853ee23e56ca1e25eb47cd6e6.tar
yuzu-da410506a401abc853ee23e56ca1e25eb47cd6e6.tar.gz
yuzu-da410506a401abc853ee23e56ca1e25eb47cd6e6.tar.bz2
yuzu-da410506a401abc853ee23e56ca1e25eb47cd6e6.tar.lz
yuzu-da410506a401abc853ee23e56ca1e25eb47cd6e6.tar.xz
yuzu-da410506a401abc853ee23e56ca1e25eb47cd6e6.tar.zst
yuzu-da410506a401abc853ee23e56ca1e25eb47cd6e6.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/psc/time/steady_clock.h21
1 files changed, 7 insertions, 14 deletions
diff --git a/src/core/hle/service/psc/time/steady_clock.h b/src/core/hle/service/psc/time/steady_clock.h
index 115e9b138..025d758a6 100644
--- a/src/core/hle/service/psc/time/steady_clock.h
+++ b/src/core/hle/service/psc/time/steady_clock.h
@@ -3,6 +3,7 @@
#pragma once
+#include "core/hle/service/cmif_types.h"
#include "core/hle/service/ipc_helpers.h"
#include "core/hle/service/psc/time/common.h"
#include "core/hle/service/psc/time/manager.h"
@@ -22,23 +23,15 @@ public:
~SteadyClock() override = default;
- Result GetCurrentTimePoint(SteadyClockTimePoint& out_time_point);
- Result GetTestOffset(s64& out_test_offset);
+ Result GetCurrentTimePoint(Out<SteadyClockTimePoint> out_time_point);
+ Result GetTestOffset(Out<s64> out_test_offset);
Result SetTestOffset(s64 test_offset);
- Result GetRtcValue(s64& out_rtc_value);
- Result IsRtcResetDetected(bool& out_is_detected);
- Result GetSetupResultValue(Result& out_result);
- Result GetInternalOffset(s64& out_internal_offset);
+ Result GetRtcValue(Out<s64> out_rtc_value);
+ Result IsRtcResetDetected(Out<bool> out_is_detected);
+ Result GetSetupResultValue(Out<Result> out_result);
+ Result GetInternalOffset(Out<s64> out_internal_offset);
private:
- void Handle_GetCurrentTimePoint(HLERequestContext& ctx);
- void Handle_GetTestOffset(HLERequestContext& ctx);
- void Handle_SetTestOffset(HLERequestContext& ctx);
- void Handle_GetRtcValue(HLERequestContext& ctx);
- void Handle_IsRtcResetDetected(HLERequestContext& ctx);
- void Handle_GetSetupResultValue(HLERequestContext& ctx);
- void Handle_GetInternalOffset(HLERequestContext& ctx);
-
Core::System& m_system;
StandardSteadyClockCore& m_clock_core;