Stub OpenPatchDataStorageByCurrentProcess

This commit is contained in:
Billy Laws 2022-11-19 12:30:08 +00:00
parent 44033d7f8d
commit 736216a6f4
3 changed files with 8 additions and 0 deletions

View File

@ -86,6 +86,10 @@ namespace skyline::service::fssrv {
return {}; 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) { Result IFileSystemProxy::GetGlobalAccessLogMode(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
response.Push<u32>(0); response.Push<u32>(0);
return {}; return {};

View File

@ -99,6 +99,8 @@ namespace skyline::service::fssrv {
*/ */
Result OpenDataStorageByDataId(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); 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 * @brief Returns the filesystem log access mode
* @url https://switchbrew.org/wiki/Filesystem_services#GetGlobalAccessLogMode * @url https://switchbrew.org/wiki/Filesystem_services#GetGlobalAccessLogMode
@ -112,6 +114,7 @@ namespace skyline::service::fssrv {
SFUNC(0x35, IFileSystemProxy, OpenReadOnlySaveDataFileSystem), SFUNC(0x35, IFileSystemProxy, OpenReadOnlySaveDataFileSystem),
SFUNC(0xC8, IFileSystemProxy, OpenDataStorageByCurrentProcess), SFUNC(0xC8, IFileSystemProxy, OpenDataStorageByCurrentProcess),
SFUNC(0xCA, IFileSystemProxy, OpenDataStorageByDataId), SFUNC(0xCA, IFileSystemProxy, OpenDataStorageByDataId),
SFUNC(0xCB, IFileSystemProxy, OpenPatchDataStorageByCurrentProcess),
SFUNC(0x3ED, IFileSystemProxy, GetGlobalAccessLogMode) SFUNC(0x3ED, IFileSystemProxy, GetGlobalAccessLogMode)
) )
}; };

View File

@ -8,6 +8,7 @@
namespace skyline::service::fssrv::result { namespace skyline::service::fssrv::result {
constexpr Result PathDoesNotExist(2, 1); constexpr Result PathDoesNotExist(2, 1);
constexpr Result NoRomFsAvailable(2, 1001); constexpr Result NoRomFsAvailable(2, 1001);
constexpr Result EntityNotFound(2, 1002);
constexpr Result UnexpectedFailure(2, 5000); constexpr Result UnexpectedFailure(2, 5000);
constexpr Result InvalidArgument(2, 6001); constexpr Result InvalidArgument(2, 6001);
constexpr Result InvalidOffset(2, 6061); constexpr Result InvalidOffset(2, 6061);