From bba63b33a160c85a9e37a482df98a65a35e60b92 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 31 Jul 2018 19:59:42 -0400 Subject: service/audio: Add missing services Adds the missing audctl service, as well as the :a and :d services for audin, audout, audrec, and audren. --- src/core/hle/service/audio/auddbg.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/core/hle/service/audio/auddbg.cpp (limited to 'src/core/hle/service/audio/auddbg.cpp') diff --git a/src/core/hle/service/audio/auddbg.cpp b/src/core/hle/service/audio/auddbg.cpp new file mode 100644 index 000000000..b08c21a20 --- /dev/null +++ b/src/core/hle/service/audio/auddbg.cpp @@ -0,0 +1,20 @@ +// Copyright 2018 yuzu emulator team +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#include "core/hle/service/audio/auddbg.h" + +namespace Service::Audio { + +AudDbg::AudDbg(const char* name) : ServiceFramework{name} { + // clang-format off + static const FunctionInfo functions[] = { + {0, nullptr, "RequestSuspendForDebug"}, + {1, nullptr, "RequestResumeForDebug"}, + }; + // clang-format on + + RegisterHandlers(functions); +} + +} // namespace Service::Audio -- cgit v1.2.3