mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-24 00:11:51 +01:00
Stub GetCacheStorageSize
This commit is contained in:
parent
4ab8699cd4
commit
f6d95aae01
@ -21,6 +21,12 @@ namespace skyline::service::fssrv {
|
|||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Result IFileSystemProxy::GetCacheStorageSize(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||||
|
response.Push<u64>(0);
|
||||||
|
response.Push<u64>(0);
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
|
||||||
Result IFileSystemProxy::OpenSaveDataFileSystem(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
Result IFileSystemProxy::OpenSaveDataFileSystem(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||||
auto spaceId{request.Pop<SaveDataSpaceId>()};
|
auto spaceId{request.Pop<SaveDataSpaceId>()};
|
||||||
auto attribute{request.Pop<SaveDataAttribute>()};
|
auto attribute{request.Pop<SaveDataAttribute>()};
|
||||||
|
@ -73,6 +73,8 @@ namespace skyline::service::fssrv {
|
|||||||
*/
|
*/
|
||||||
Result OpenSdCardFileSystem(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
Result OpenSdCardFileSystem(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||||
|
|
||||||
|
Result GetCacheStorageSize(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Returns a handle to an instance of #IFileSystem
|
* @brief Returns a handle to an instance of #IFileSystem
|
||||||
* @url https://switchbrew.org/wiki/Filesystem_services#IFileSystem for the requested save data area
|
* @url https://switchbrew.org/wiki/Filesystem_services#IFileSystem for the requested save data area
|
||||||
@ -110,6 +112,7 @@ namespace skyline::service::fssrv {
|
|||||||
SERVICE_DECL(
|
SERVICE_DECL(
|
||||||
SFUNC(0x1, IFileSystemProxy, SetCurrentProcess),
|
SFUNC(0x1, IFileSystemProxy, SetCurrentProcess),
|
||||||
SFUNC(0x12, IFileSystemProxy, OpenSdCardFileSystem),
|
SFUNC(0x12, IFileSystemProxy, OpenSdCardFileSystem),
|
||||||
|
SFUNC(0x22, IFileSystemProxy, GetCacheStorageSize),
|
||||||
SFUNC(0x33, IFileSystemProxy, OpenSaveDataFileSystem),
|
SFUNC(0x33, IFileSystemProxy, OpenSaveDataFileSystem),
|
||||||
SFUNC(0x35, IFileSystemProxy, OpenReadOnlySaveDataFileSystem),
|
SFUNC(0x35, IFileSystemProxy, OpenReadOnlySaveDataFileSystem),
|
||||||
SFUNC(0xC8, IFileSystemProxy, OpenDataStorageByCurrentProcess),
|
SFUNC(0xC8, IFileSystemProxy, OpenDataStorageByCurrentProcess),
|
||||||
|
Loading…
Reference in New Issue
Block a user