summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/psc/time/system_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/system_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/system_clock.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/core/hle/service/psc/time/system_clock.h b/src/core/hle/service/psc/time/system_clock.h
index f30027e7b..b40d73595 100644
--- a/src/core/hle/service/psc/time/system_clock.h
+++ b/src/core/hle/service/psc/time/system_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,19 +23,13 @@ public:
~SystemClock() override = default;
- Result GetCurrentTime(s64& out_time);
+ Result GetCurrentTime(Out<s64> out_time);
Result SetCurrentTime(s64 time);
- Result GetSystemClockContext(SystemClockContext& out_context);
+ Result GetSystemClockContext(Out<SystemClockContext> out_context);
Result SetSystemClockContext(SystemClockContext& context);
- Result GetOperationEventReadableHandle(Kernel::KEvent** out_event);
+ Result GetOperationEventReadableHandle(OutCopyHandle<Kernel::KReadableEvent> out_event);
private:
- void Handle_GetCurrentTime(HLERequestContext& ctx);
- void Handle_SetCurrentTime(HLERequestContext& ctx);
- void Handle_GetSystemClockContext(HLERequestContext& ctx);
- void Handle_SetSystemClockContext(HLERequestContext& ctx);
- void Handle_GetOperationEventReadableHandle(HLERequestContext& ctx);
-
Core::System& m_system;
SystemClockCore& m_clock_core;