diff options
author | FearlessTobi <thm.frey@gmail.com> | 2024-02-19 15:36:20 +0100 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2024-02-19 19:06:31 +0100 |
commit | 2b18957365d8f369626ec3b94277621df2fe1729 (patch) | |
tree | 16997564f581190e10eb8de9de552aa37bd856ff /src/core/hle/service/filesystem/fsp/fs_i_save_data_info_reader.cpp | |
parent | fsp: Migrate remaining interfaces to cmif serialization (diff) | |
download | yuzu-2b18957365d8f369626ec3b94277621df2fe1729.tar yuzu-2b18957365d8f369626ec3b94277621df2fe1729.tar.gz yuzu-2b18957365d8f369626ec3b94277621df2fe1729.tar.bz2 yuzu-2b18957365d8f369626ec3b94277621df2fe1729.tar.lz yuzu-2b18957365d8f369626ec3b94277621df2fe1729.tar.xz yuzu-2b18957365d8f369626ec3b94277621df2fe1729.tar.zst yuzu-2b18957365d8f369626ec3b94277621df2fe1729.zip |
Diffstat (limited to 'src/core/hle/service/filesystem/fsp/fs_i_save_data_info_reader.cpp')
-rw-r--r-- | src/core/hle/service/filesystem/fsp/fs_i_save_data_info_reader.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/hle/service/filesystem/fsp/fs_i_save_data_info_reader.cpp b/src/core/hle/service/filesystem/fsp/fs_i_save_data_info_reader.cpp index 0d9b0dcaf..ff823586b 100644 --- a/src/core/hle/service/filesystem/fsp/fs_i_save_data_info_reader.cpp +++ b/src/core/hle/service/filesystem/fsp/fs_i_save_data_info_reader.cpp @@ -72,7 +72,7 @@ void ISaveDataInfoReader::FindAllSaves(FileSys::SaveDataSpaceId space) { for (const auto& type : save_root->GetSubdirectories()) { if (type->GetName() == "save") { FindNormalSaves(space, type); - } else if (space == FileSys::SaveDataSpaceId::TemporaryStorage) { + } else if (space == FileSys::SaveDataSpaceId::Temporary) { FindTemporaryStorageSaves(space, type); } } @@ -96,7 +96,7 @@ void ISaveDataInfoReader::FindNormalSaves(FileSys::SaveDataSpaceId space, info.emplace_back(SaveDataInfo{ 0, space, - FileSys::SaveDataType::SystemSaveData, + FileSys::SaveDataType::System, {}, user_id_numeric, save_id_numeric, @@ -115,8 +115,7 @@ void ISaveDataInfoReader::FindNormalSaves(FileSys::SaveDataSpaceId space, info.emplace_back(SaveDataInfo{ 0, space, - device ? FileSys::SaveDataType::DeviceSaveData - : FileSys::SaveDataType::SaveData, + device ? FileSys::SaveDataType::Device : FileSys::SaveDataType::Account, {}, user_id_numeric, save_id_numeric, @@ -145,7 +144,7 @@ void ISaveDataInfoReader::FindTemporaryStorageSaves(FileSys::SaveDataSpaceId spa info.emplace_back(SaveDataInfo{ 0, space, - FileSys::SaveDataType::TemporaryStorage, + FileSys::SaveDataType::Temporary, {}, user_id_numeric, stoull_be(type->GetName()), |