diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-11-29 15:14:12 +0100 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-11-29 15:14:20 +0100 |
commit | 170d7078507745fee4c8952aa5888108b2b76b91 (patch) | |
tree | 6bc3c4cbbe36518a7e9b8e62a6b4042cb420861e /src/core/hle/kernel/writable_event.cpp | |
parent | kernel/event: Reference ReadableEvent from WritableEvent (diff) | |
download | yuzu-170d7078507745fee4c8952aa5888108b2b76b91.tar yuzu-170d7078507745fee4c8952aa5888108b2b76b91.tar.gz yuzu-170d7078507745fee4c8952aa5888108b2b76b91.tar.bz2 yuzu-170d7078507745fee4c8952aa5888108b2b76b91.tar.lz yuzu-170d7078507745fee4c8952aa5888108b2b76b91.tar.xz yuzu-170d7078507745fee4c8952aa5888108b2b76b91.tar.zst yuzu-170d7078507745fee4c8952aa5888108b2b76b91.zip |
Diffstat (limited to 'src/core/hle/kernel/writable_event.cpp')
-rw-r--r-- | src/core/hle/kernel/writable_event.cpp | 4 |
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; } |