diff options
| author | bunnei <bunneidev@gmail.com> | 2016-03-20 16:11:49 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2016-03-20 16:11:49 -0400 |
| commit | b83e95727f95fa6fe35d436be3e821605244a6a8 (patch) | |
| tree | 64255c7432e882205a2dbea1fe962025863664ee /src/core/hle/service/ptm/ptm.cpp | |
| parent | ff6c24932a1d748f083adae66c58bf7ebc760535 (diff) | |
| parent | f707026ac50c53716ac697ed439630d7728e9db6 (diff) | |
Merge pull request #1302 from Subv/save_fix
HLE/FS: Fixed many corner cases in our file handling
Diffstat (limited to 'src/core/hle/service/ptm/ptm.cpp')
| -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!"); |
