summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/psc/ovln/receiver.cpp
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2024-02-22 04:25:31 +0100
committerLiam <byteslice@airmail.cc>2024-02-22 04:54:05 +0100
commite85466c1ae5c993617920f28e9ee1799591d4a9a (patch)
tree06e0610553d633da38488813ee3bf33987cf4bf3 /src/core/hle/service/psc/ovln/receiver.cpp
parentpsc: rewrite IPmService (diff)
downloadyuzu-e85466c1ae5c993617920f28e9ee1799591d4a9a.tar
yuzu-e85466c1ae5c993617920f28e9ee1799591d4a9a.tar.gz
yuzu-e85466c1ae5c993617920f28e9ee1799591d4a9a.tar.bz2
yuzu-e85466c1ae5c993617920f28e9ee1799591d4a9a.tar.lz
yuzu-e85466c1ae5c993617920f28e9ee1799591d4a9a.tar.xz
yuzu-e85466c1ae5c993617920f28e9ee1799591d4a9a.tar.zst
yuzu-e85466c1ae5c993617920f28e9ee1799591d4a9a.zip
Diffstat (limited to 'src/core/hle/service/psc/ovln/receiver.cpp')
-rw-r--r--src/core/hle/service/psc/ovln/receiver.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/core/hle/service/psc/ovln/receiver.cpp b/src/core/hle/service/psc/ovln/receiver.cpp
new file mode 100644
index 000000000..85f62816d
--- /dev/null
+++ b/src/core/hle/service/psc/ovln/receiver.cpp
@@ -0,0 +1,24 @@
+// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#include "core/hle/service/psc/ovln/receiver.h"
+
+namespace Service::PSC {
+
+IReceiver::IReceiver(Core::System& system_) : ServiceFramework{system_, "IReceiver"} {
+ // clang-format off
+ static const FunctionInfo functions[] = {
+ {0, nullptr, "AddSource"},
+ {1, nullptr, "RemoveSource"},
+ {2, nullptr, "GetReceiveEventHandle"},
+ {3, nullptr, "Receive"},
+ {4, nullptr, "ReceiveWithTick"},
+ };
+ // clang-format on
+
+ RegisterHandlers(functions);
+}
+
+IReceiver::~IReceiver() = default;
+
+} // namespace Service::PSC