From 707c0cc0af0609037cf61f5bb2d8beb693093180 Mon Sep 17 00:00:00 2001 From: lynxnb Date: Wed, 23 Mar 2022 17:12:53 +0100 Subject: [PATCH] Stub `aocsrv::IAddOnContentManager::ListAddOnContent` --- .../cpp/skyline/services/aocsrv/IAddOnContentManager.cpp | 5 +++++ .../cpp/skyline/services/aocsrv/IAddOnContentManager.h | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/app/src/main/cpp/skyline/services/aocsrv/IAddOnContentManager.cpp b/app/src/main/cpp/skyline/services/aocsrv/IAddOnContentManager.cpp index 6be8201e..99fe1a97 100644 --- a/app/src/main/cpp/skyline/services/aocsrv/IAddOnContentManager.cpp +++ b/app/src/main/cpp/skyline/services/aocsrv/IAddOnContentManager.cpp @@ -5,4 +5,9 @@ namespace skyline::service::aocsrv { IAddOnContentManager::IAddOnContentManager(const DeviceState &state, ServiceManager &manager) : BaseService(state, manager) {} + + Result IAddOnContentManager::ListAddOnContent(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) { + response.Push(0); + return {}; + } } diff --git a/app/src/main/cpp/skyline/services/aocsrv/IAddOnContentManager.h b/app/src/main/cpp/skyline/services/aocsrv/IAddOnContentManager.h index 1ba9eb8e..232976b4 100644 --- a/app/src/main/cpp/skyline/services/aocsrv/IAddOnContentManager.h +++ b/app/src/main/cpp/skyline/services/aocsrv/IAddOnContentManager.h @@ -3,7 +3,7 @@ #pragma once -#include +#include namespace skyline::service::aocsrv { /** @@ -13,5 +13,11 @@ namespace skyline::service::aocsrv { class IAddOnContentManager : public BaseService { public: IAddOnContentManager(const DeviceState &state, ServiceManager &manager); + + Result ListAddOnContent(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + + SERVICE_DECL( + SFUNC(0x3, IAddOnContentManager, ListAddOnContent) + ) }; }