diff options
| author | 2014-12-15 06:41:02 -0200 | |
|---|---|---|
| committer | 2014-12-16 01:08:44 -0200 | |
| commit | 83e6e4ffec9ca67fbca5536bb0ed7b4876ade0db (patch) | |
| tree | 0e8b9aebaaebd6651e27b444964e95ef4c14d699 /src/core/loader/loader.cpp | |
| parent | Service.FS: Rename FileSys::File to FileBackend (diff) | |
| download | yuzu-83e6e4ffec9ca67fbca5536bb0ed7b4876ade0db.tar.gz yuzu-83e6e4ffec9ca67fbca5536bb0ed7b4876ade0db.tar.xz yuzu-83e6e4ffec9ca67fbca5536bb0ed7b4876ade0db.zip | |
FS.Archive: Clean up treatment of archives and their handles
- Refactor FS::Archive internals to make Archive creation and lifetime
management clearer.
- Remove the "Archive as a File" hack.
- Implement 64-bit Archive handles.
Diffstat (limited to 'src/core/loader/loader.cpp')
| -rw-r--r-- | src/core/loader/loader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp index 49f8c458d..463dacca3 100644 --- a/src/core/loader/loader.cpp +++ b/src/core/loader/loader.cpp | |||
| @@ -74,7 +74,7 @@ ResultStatus LoadFile(const std::string& filename) { | |||
| 74 | 74 | ||
| 75 | // Load application and RomFS | 75 | // Load application and RomFS |
| 76 | if (ResultStatus::Success == app_loader.Load()) { | 76 | if (ResultStatus::Success == app_loader.Load()) { |
| 77 | Service::FS::CreateArchive(new FileSys::Archive_RomFS(app_loader), Service::FS::ArchiveIdCode::RomFS); | 77 | Service::FS::CreateArchive(std::make_unique<FileSys::Archive_RomFS>(app_loader), Service::FS::ArchiveIdCode::RomFS); |
| 78 | return ResultStatus::Success; | 78 | return ResultStatus::Success; |
| 79 | } | 79 | } |
| 80 | break; | 80 | break; |