diff options
author | Subv <subv2112@gmail.com> | 2015-12-28 19:51:44 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-03-20 20:30:01 +0100 |
commit | d26c6b3212ed36970410814593ee5ec082b1d95a (patch) | |
tree | 3b03822761cbec083ea57719b0c8a9df530c4899 /src/core/hle/service/ptm | |
parent | HLE/FS: Don't return an error when deleting the ExtSaveData if it does not exist. (diff) | |
download | yuzu-d26c6b3212ed36970410814593ee5ec082b1d95a.tar yuzu-d26c6b3212ed36970410814593ee5ec082b1d95a.tar.gz yuzu-d26c6b3212ed36970410814593ee5ec082b1d95a.tar.bz2 yuzu-d26c6b3212ed36970410814593ee5ec082b1d95a.tar.lz yuzu-d26c6b3212ed36970410814593ee5ec082b1d95a.tar.xz yuzu-d26c6b3212ed36970410814593ee5ec082b1d95a.tar.zst yuzu-d26c6b3212ed36970410814593ee5ec082b1d95a.zip |
Diffstat (limited to 'src/core/hle/service/ptm')
-rw-r--r-- | src/core/hle/service/ptm/ptm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/ptm/ptm.cpp b/src/core/hle/service/ptm/ptm.cpp index 6bdee4d9e..94f494690 100644 --- a/src/core/hle/service/ptm/ptm.cpp +++ b/src/core/hle/service/ptm/ptm.cpp @@ -103,7 +103,7 @@ void Init() { // If the archive didn't exist, create the files inside if (archive_result.Code().description == ErrorDescription::FS_NotFormatted) { // Format the archive to create the directories - Service::FS::FormatArchive(Service::FS::ArchiveIdCode::SharedExtSaveData, archive_path); + Service::FS::FormatArchive(Service::FS::ArchiveIdCode::SharedExtSaveData, FileSys::ArchiveFormatInfo(), archive_path); // Open it again to get a valid archive now that the folder exists archive_result = Service::FS::OpenArchive(Service::FS::ArchiveIdCode::SharedExtSaveData, archive_path); ASSERT_MSG(archive_result.Succeeded(), "Could not open the PTM SharedExtSaveData archive!"); |