Stub IsCpuOverclockEnabled

This commit is contained in:
Dima 2022-11-20 12:37:56 +03:00 committed by Billy Laws
parent 4601c28c28
commit 2311f777fc
2 changed files with 12 additions and 1 deletions

View File

@ -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 {};
}
}

View File

@ -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)
)
};
}