diff --git a/app/src/main/cpp/skyline/services/apm/IManager.cpp b/app/src/main/cpp/skyline/services/apm/IManager.cpp index 456ccc58..0eacf1e4 100644 --- a/app/src/main/cpp/skyline/services/apm/IManager.cpp +++ b/app/src/main/cpp/skyline/services/apm/IManager.cpp @@ -11,4 +11,9 @@ namespace skyline::service::apm { manager.RegisterService(SRVREG(ISession), session, response); return {}; } + + Result IManager::IsCpuOverclockEnabled(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) { + response.Push(false); + return {}; + } } diff --git a/app/src/main/cpp/skyline/services/apm/IManager.h b/app/src/main/cpp/skyline/services/apm/IManager.h index e7186cd0..364d433c 100644 --- a/app/src/main/cpp/skyline/services/apm/IManager.h +++ b/app/src/main/cpp/skyline/services/apm/IManager.h @@ -19,8 +19,14 @@ namespace skyline::service::apm { */ Result OpenSession(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + /** + * @url https://switchbrew.org/wiki/PPC_services#IsCpuOverclockEnabled + */ + Result IsCpuOverclockEnabled(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + SERVICE_DECL( - SFUNC(0x0, IManager, OpenSession) + SFUNC(0x0, IManager, OpenSession), + SFUNC(0x6, IManager, IsCpuOverclockEnabled) ) }; }