diff --git a/app/src/main/cpp/skyline/services/fssrv/IFileSystemProxy.cpp b/app/src/main/cpp/skyline/services/fssrv/IFileSystemProxy.cpp index df89a337..ec793bfe 100644 --- a/app/src/main/cpp/skyline/services/fssrv/IFileSystemProxy.cpp +++ b/app/src/main/cpp/skyline/services/fssrv/IFileSystemProxy.cpp @@ -86,6 +86,10 @@ namespace skyline::service::fssrv { return {}; } + Result IFileSystemProxy::OpenPatchDataStorageByCurrentProcess(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) { + return result::EntityNotFound; + } + Result IFileSystemProxy::GetGlobalAccessLogMode(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) { response.Push(0); return {}; diff --git a/app/src/main/cpp/skyline/services/fssrv/IFileSystemProxy.h b/app/src/main/cpp/skyline/services/fssrv/IFileSystemProxy.h index 8431ef18..ba40c4f2 100644 --- a/app/src/main/cpp/skyline/services/fssrv/IFileSystemProxy.h +++ b/app/src/main/cpp/skyline/services/fssrv/IFileSystemProxy.h @@ -99,6 +99,8 @@ namespace skyline::service::fssrv { */ Result OpenDataStorageByDataId(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + Result OpenPatchDataStorageByCurrentProcess(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + /** * @brief Returns the filesystem log access mode * @url https://switchbrew.org/wiki/Filesystem_services#GetGlobalAccessLogMode @@ -112,6 +114,7 @@ namespace skyline::service::fssrv { SFUNC(0x35, IFileSystemProxy, OpenReadOnlySaveDataFileSystem), SFUNC(0xC8, IFileSystemProxy, OpenDataStorageByCurrentProcess), SFUNC(0xCA, IFileSystemProxy, OpenDataStorageByDataId), + SFUNC(0xCB, IFileSystemProxy, OpenPatchDataStorageByCurrentProcess), SFUNC(0x3ED, IFileSystemProxy, GetGlobalAccessLogMode) ) }; diff --git a/app/src/main/cpp/skyline/services/fssrv/results.h b/app/src/main/cpp/skyline/services/fssrv/results.h index d2e5d792..722d15f0 100644 --- a/app/src/main/cpp/skyline/services/fssrv/results.h +++ b/app/src/main/cpp/skyline/services/fssrv/results.h @@ -8,6 +8,7 @@ namespace skyline::service::fssrv::result { constexpr Result PathDoesNotExist(2, 1); constexpr Result NoRomFsAvailable(2, 1001); + constexpr Result EntityNotFound(2, 1002); constexpr Result UnexpectedFailure(2, 5000); constexpr Result InvalidArgument(2, 6001); constexpr Result InvalidOffset(2, 6061);