From 72eeca1f037261ca2802da79ff1feff813e26e48 Mon Sep 17 00:00:00 2001 From: bunnei Date: Sat, 14 Oct 2017 22:50:04 -0400 Subject: hle: Add service stubs for apm and appletOE. --- src/core/hle/service/apm/apm.cpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/core/hle/service/apm/apm.cpp (limited to 'src/core/hle/service/apm/apm.cpp') diff --git a/src/core/hle/service/apm/apm.cpp b/src/core/hle/service/apm/apm.cpp new file mode 100644 index 000000000..37b5bd647 --- /dev/null +++ b/src/core/hle/service/apm/apm.cpp @@ -0,0 +1,27 @@ +// Copyright 2017 Citra Emulator Project +// Licensed under GPLv2 or any later version +// Refer to the license.txt file included. + +#include "common/logging/log.h" +#include "core/hle/ipc_helpers.h" +#include "core/hle/service/apm/apm.h" + +namespace Service { +namespace APM { + +void InstallInterfaces(SM::ServiceManager& service_manager) { + std::make_shared()->InstallAsService(service_manager); +} + +APM::APM() : ServiceFramework("apm") { + static const FunctionInfo functions[] = { + {0x00000000, nullptr, "OpenSession"}, + {0x00000001, nullptr, "GetPerformanceMode"}, + }; + RegisterHandlers(functions); +} + +APM::~APM() = default; + +} // namespace APM +} // namespace Service -- cgit v1.2.3