summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/writable_event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/writable_event.cpp')
-rw-r--r--src/core/hle/kernel/writable_event.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/writable_event.cpp b/src/core/hle/kernel/writable_event.cpp
index 27d7ff734..a58ea6ec8 100644
--- a/src/core/hle/kernel/writable_event.cpp
+++ b/src/core/hle/kernel/writable_event.cpp
@@ -29,6 +29,10 @@ EventPair WritableEvent::CreateEventPair(KernelCore& kernel, ResetType reset_typ
return {std::move(readable_event), std::move(writable_event)};
}
+SharedPtr<ReadableEvent> WritableEvent::GetReadableEvent() const {
+ return readable;
+}
+
ResetType WritableEvent::GetResetType() const {
return readable->reset_type;
}