mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-22 14:59:15 +01:00
Stub OpenPatchDataStorageByCurrentProcess
This commit is contained in:
parent
44033d7f8d
commit
736216a6f4
@ -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<u32>(0);
|
||||
return {};
|
||||
|
@ -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)
|
||||
)
|
||||
};
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user