diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-04-04 21:29:24 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-04-05 11:04:01 -0400 |
| commit | c05c8a7a065a60f586fe617bf6af0814064eb903 (patch) | |
| tree | c1af6d1714f08cba21f3c1089df5dfcbf55c03b7 /src/core/hle/service/filesystem/filesystem.h | |
| parent | d0ed3ff4b7c10a2b7e85185f62f5734d2d8329dc (diff) | |
service/fsp_srv: Don't pass SaveDataDescriptor instances by value.
Passing around a 64 byte data struct by value is kind of wasteful,
instead pass a reference to the struct.
Diffstat (limited to 'src/core/hle/service/filesystem/filesystem.h')
| -rw-r--r-- | src/core/hle/service/filesystem/filesystem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.h b/src/core/hle/service/filesystem/filesystem.h index 6fd5e7b23..7cfc0d902 100644 --- a/src/core/hle/service/filesystem/filesystem.h +++ b/src/core/hle/service/filesystem/filesystem.h @@ -46,7 +46,7 @@ ResultVal<FileSys::VirtualFile> OpenRomFSCurrentProcess(); ResultVal<FileSys::VirtualFile> OpenRomFS(u64 title_id, FileSys::StorageId storage_id, FileSys::ContentRecordType type); ResultVal<FileSys::VirtualDir> OpenSaveData(FileSys::SaveDataSpaceId space, - FileSys::SaveDataDescriptor save_struct); + const FileSys::SaveDataDescriptor& descriptor); ResultVal<FileSys::VirtualDir> OpenSaveDataSpace(FileSys::SaveDataSpaceId space); ResultVal<FileSys::VirtualDir> OpenSDMC(); |
