From 1c8736cb56e00f2bebf199e909a4ab9d57c5daed Mon Sep 17 00:00:00 2001 From: Dima Date: Sat, 12 Nov 2022 13:18:42 +0300 Subject: [PATCH] Stub IsLargeResourceAvailable --- .../services/nim/IShopServiceAccessServerInterface.cpp | 5 +++++ .../skyline/services/nim/IShopServiceAccessServerInterface.h | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/app/src/main/cpp/skyline/services/nim/IShopServiceAccessServerInterface.cpp b/app/src/main/cpp/skyline/services/nim/IShopServiceAccessServerInterface.cpp index d36ead8c..dd2e2a46 100644 --- a/app/src/main/cpp/skyline/services/nim/IShopServiceAccessServerInterface.cpp +++ b/app/src/main/cpp/skyline/services/nim/IShopServiceAccessServerInterface.cpp @@ -11,4 +11,9 @@ namespace skyline::service::nim { manager.RegisterService(SRVREG(IShopServiceAccessServer), session, response); return {}; } + + Result IShopServiceAccessServerInterface::IsLargeResourceAvailable(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) { + response.Push(false); + return {}; + } } diff --git a/app/src/main/cpp/skyline/services/nim/IShopServiceAccessServerInterface.h b/app/src/main/cpp/skyline/services/nim/IShopServiceAccessServerInterface.h index 00dcc9f2..31ae5fa1 100644 --- a/app/src/main/cpp/skyline/services/nim/IShopServiceAccessServerInterface.h +++ b/app/src/main/cpp/skyline/services/nim/IShopServiceAccessServerInterface.h @@ -16,8 +16,11 @@ namespace skyline::service::nim { Result CreateServerInterface(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + Result IsLargeResourceAvailable(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + SERVICE_DECL( - SFUNC(0x0, IShopServiceAccessServerInterface, CreateServerInterface) + SFUNC(0x0, IShopServiceAccessServerInterface, CreateServerInterface), + SFUNC(0x4, IShopServiceAccessServerInterface, IsLargeResourceAvailable) ) }; }