summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/writable_event.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-11-03 10:10:12 +0100
committerbunnei <bunneidev@gmail.com>2019-11-03 10:22:45 +0100
commitb0ab803ce853739a0b8595ee95599d0fab46c78a (patch)
tree0430782a5fae74d06891dad3732db26d5dd4a189 /src/core/hle/kernel/writable_event.cpp
parentkernel: readable_event: Initialize members. (diff)
downloadyuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar
yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar.gz
yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar.bz2
yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar.lz
yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar.xz
yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.tar.zst
yuzu-b0ab803ce853739a0b8595ee95599d0fab46c78a.zip
Diffstat (limited to 'src/core/hle/kernel/writable_event.cpp')
-rw-r--r--src/core/hle/kernel/writable_event.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/core/hle/kernel/writable_event.cpp b/src/core/hle/kernel/writable_event.cpp
index a58ea6ec8..c783a34ee 100644
--- a/src/core/hle/kernel/writable_event.cpp
+++ b/src/core/hle/kernel/writable_event.cpp
@@ -15,8 +15,7 @@ namespace Kernel {
WritableEvent::WritableEvent(KernelCore& kernel) : Object{kernel} {}
WritableEvent::~WritableEvent() = default;
-EventPair WritableEvent::CreateEventPair(KernelCore& kernel, ResetType reset_type,
- std::string name) {
+EventPair WritableEvent::CreateEventPair(KernelCore& kernel, std::string name) {
SharedPtr<WritableEvent> writable_event(new WritableEvent(kernel));
SharedPtr<ReadableEvent> readable_event(new ReadableEvent(kernel));
@@ -24,7 +23,6 @@ EventPair WritableEvent::CreateEventPair(KernelCore& kernel, ResetType reset_typ
writable_event->readable = readable_event;
readable_event->name = name + ":Readable";
readable_event->signaled = false;
- readable_event->reset_type = reset_type;
return {std::move(readable_event), std::move(writable_event)};
}
@@ -33,10 +31,6 @@ SharedPtr<ReadableEvent> WritableEvent::GetReadableEvent() const {
return readable;
}
-ResetType WritableEvent::GetResetType() const {
- return readable->reset_type;
-}
-
void WritableEvent::Signal() {
readable->Signal();
}