summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/filesystem/filesystem.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-07-30 21:29:39 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-07-30 21:29:39 +0200
commit45fd67c1093e0aa252228e250a66488029396764 (patch)
tree8cf3244deec6a10ee1eb70a6516c2fc274aab423 /src/core/hle/service/filesystem/filesystem.cpp
parentMerge pull request #4392 from lioncash/guard (diff)
downloadyuzu-45fd67c1093e0aa252228e250a66488029396764.tar
yuzu-45fd67c1093e0aa252228e250a66488029396764.tar.gz
yuzu-45fd67c1093e0aa252228e250a66488029396764.tar.bz2
yuzu-45fd67c1093e0aa252228e250a66488029396764.tar.lz
yuzu-45fd67c1093e0aa252228e250a66488029396764.tar.xz
yuzu-45fd67c1093e0aa252228e250a66488029396764.tar.zst
yuzu-45fd67c1093e0aa252228e250a66488029396764.zip
Diffstat (limited to 'src/core/hle/service/filesystem/filesystem.cpp')
-rw-r--r--src/core/hle/service/filesystem/filesystem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cpp
index c66124998..4490f8e4c 100644
--- a/src/core/hle/service/filesystem/filesystem.cpp
+++ b/src/core/hle/service/filesystem/filesystem.cpp
@@ -311,7 +311,7 @@ ResultVal<FileSys::VirtualFile> FileSystemController::OpenRomFS(
}
ResultVal<FileSys::VirtualDir> FileSystemController::CreateSaveData(
- FileSys::SaveDataSpaceId space, const FileSys::SaveDataDescriptor& save_struct) const {
+ FileSys::SaveDataSpaceId space, const FileSys::SaveDataAttribute& save_struct) const {
LOG_TRACE(Service_FS, "Creating Save Data for space_id={:01X}, save_struct={}",
static_cast<u8>(space), save_struct.DebugInfo());
@@ -323,15 +323,15 @@ ResultVal<FileSys::VirtualDir> FileSystemController::CreateSaveData(
}
ResultVal<FileSys::VirtualDir> FileSystemController::OpenSaveData(
- FileSys::SaveDataSpaceId space, const FileSys::SaveDataDescriptor& descriptor) const {
+ FileSys::SaveDataSpaceId space, const FileSys::SaveDataAttribute& attribute) const {
LOG_TRACE(Service_FS, "Opening Save Data for space_id={:01X}, save_struct={}",
- static_cast<u8>(space), descriptor.DebugInfo());
+ static_cast<u8>(space), attribute.DebugInfo());
if (save_data_factory == nullptr) {
return FileSys::ERROR_ENTITY_NOT_FOUND;
}
- return save_data_factory->Open(space, descriptor);
+ return save_data_factory->Open(space, attribute);
}
ResultVal<FileSys::VirtualDir> FileSystemController::OpenSaveDataSpace(