aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/event.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-02-10 16:00:34 -0500
committerGitHub <noreply@github.com>2024-02-10 16:00:34 -0500
commit7c56ecca3f5fd2b70564209d765593c56a500c9e (patch)
treec1ebc60262c7103409b59f284bdd176e4c86c5d9 /src/core/hle/service/event.cpp
parentfe6934593fd7e7b6c61d1fb84d0794d19f024b47 (diff)
parent5a64a77df34f7564af98bc53c26ef82d215cd5a5 (diff)
Merge pull request #12949 from liamwhite/multi-wait
service: add os types and multi wait API
Diffstat (limited to 'src/core/hle/service/event.cpp')
-rw-r--r--src/core/hle/service/event.cpp31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/core/hle/service/event.cpp b/src/core/hle/service/event.cpp
deleted file mode 100644
index 375660d72..000000000
--- a/src/core/hle/service/event.cpp
+++ /dev/null
@@ -1,31 +0,0 @@
-// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
-// SPDX-License-Identifier: GPL-2.0-or-later
-
-#include "core/hle/kernel/k_event.h"
-#include "core/hle/service/event.h"
-#include "core/hle/service/kernel_helpers.h"
-
-namespace Service {
-
-Event::Event(KernelHelpers::ServiceContext& ctx) {
- m_event = ctx.CreateEvent("Event");
-}
-
-Event::~Event() {
- m_event->GetReadableEvent().Close();
- m_event->Close();
-}
-
-void Event::Signal() {
- m_event->Signal();
-}
-
-void Event::Clear() {
- m_event->Clear();
-}
-
-Kernel::KReadableEvent* Event::GetHandle() {
- return &m_event->GetReadableEvent();
-}
-
-} // namespace Service