summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/k_event.h')
-rw-r--r--src/core/hle/kernel/k_event.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_event.h b/src/core/hle/kernel/k_event.h
index 2fb887129..ec6894b16 100644
--- a/src/core/hle/kernel/k_event.h
+++ b/src/core/hle/kernel/k_event.h
@@ -32,8 +32,8 @@ public:
return HANDLE_TYPE;
}
- std::shared_ptr<KReadableEvent>& GetReadableEvent() {
- return readable_event;
+ KReadableEvent* GetReadableEvent() {
+ return readable_event.get();
}
std::shared_ptr<KWritableEvent>& GetWritableEvent() {