From de10ab1219404afc611d1d7a0b3aa120300b70b7 Mon Sep 17 00:00:00 2001 From: Dima Date: Tue, 6 Dec 2022 19:54:55 +0300 Subject: [PATCH] Stub SetConnectionConfirmationOption --- app/src/main/cpp/skyline/services/nifm/IRequest.cpp | 4 ++++ app/src/main/cpp/skyline/services/nifm/IRequest.h | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/app/src/main/cpp/skyline/services/nifm/IRequest.cpp b/app/src/main/cpp/skyline/services/nifm/IRequest.cpp index b7e26f67..c627be49 100644 --- a/app/src/main/cpp/skyline/services/nifm/IRequest.cpp +++ b/app/src/main/cpp/skyline/services/nifm/IRequest.cpp @@ -40,6 +40,10 @@ namespace skyline::service::nifm { return {}; } + Result IRequest::SetConnectionConfirmationOption(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) { + return {}; + } + Result IRequest::GetAppletInfo(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) { return result::AppletLaunchNotRequired; } diff --git a/app/src/main/cpp/skyline/services/nifm/IRequest.h b/app/src/main/cpp/skyline/services/nifm/IRequest.h index 6894cd4d..5c3c15b5 100644 --- a/app/src/main/cpp/skyline/services/nifm/IRequest.h +++ b/app/src/main/cpp/skyline/services/nifm/IRequest.h @@ -43,6 +43,11 @@ namespace skyline::service::nifm { */ Result Submit(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + /** + * @url https://switchbrew.org/wiki/Network_Interface_services#SetConnectionConfirmationOption + */ + Result SetConnectionConfirmationOption(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + /** * @url https://switchbrew.org/wiki/Network_Interface_services#GetAppletInfo */ @@ -53,6 +58,7 @@ namespace skyline::service::nifm { SFUNC(0x1, IRequest, GetResult), SFUNC(0x2, IRequest, GetSystemEventReadableHandles), SFUNC(0x4, IRequest, Submit), + SFUNC(0xB, IRequest, SetConnectionConfirmationOption), SFUNC(0x15, IRequest, GetAppletInfo) ) };