diff options
author | FearlessTobi <thm.frey@gmail.com> | 2024-02-19 02:58:25 +0100 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2024-02-19 19:06:31 +0100 |
commit | 4c71bf3d907efaeb97bc2b0461bece520a91d198 (patch) | |
tree | 97ac18bc658aaae2264198e5de3c62dc4fcb3b1b /src/core/hle/service/filesystem/fsp/fs_i_storage.h | |
parent | fsp-srv: Migrate to use cmif serialization (diff) | |
download | yuzu-4c71bf3d907efaeb97bc2b0461bece520a91d198.tar yuzu-4c71bf3d907efaeb97bc2b0461bece520a91d198.tar.gz yuzu-4c71bf3d907efaeb97bc2b0461bece520a91d198.tar.bz2 yuzu-4c71bf3d907efaeb97bc2b0461bece520a91d198.tar.lz yuzu-4c71bf3d907efaeb97bc2b0461bece520a91d198.tar.xz yuzu-4c71bf3d907efaeb97bc2b0461bece520a91d198.tar.zst yuzu-4c71bf3d907efaeb97bc2b0461bece520a91d198.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/filesystem/fsp/fs_i_storage.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/core/hle/service/filesystem/fsp/fs_i_storage.h b/src/core/hle/service/filesystem/fsp/fs_i_storage.h index cb5bebcc9..74d879386 100644 --- a/src/core/hle/service/filesystem/fsp/fs_i_storage.h +++ b/src/core/hle/service/filesystem/fsp/fs_i_storage.h @@ -4,6 +4,7 @@ #pragma once #include "core/file_sys/vfs/vfs.h" +#include "core/hle/service/cmif_types.h" #include "core/hle/service/filesystem/filesystem.h" #include "core/hle/service/service.h" @@ -16,8 +17,10 @@ public: private: FileSys::VirtualFile backend; - void Read(HLERequestContext& ctx); - void GetSize(HLERequestContext& ctx); + Result Read( + OutBuffer<BufferAttr_HipcMapAlias | BufferAttr_HipcMapTransferAllowsNonSecure> out_bytes, + s64 offset, s64 length); + Result GetSize(Out<u64> out_size); }; } // namespace Service::FileSystem |