diff options
| author | 2015-02-06 11:53:14 -0200 | |
|---|---|---|
| committer | 2015-02-10 13:43:44 -0200 | |
| commit | 3f1a3952d707bce7851652ce54701ca14334f314 (patch) | |
| tree | 04c79ff9887f0074813276cdf989e6814901e943 /src/core/loader/loader.cpp | |
| parent | FS: Get rid of completely useless Archive class (diff) | |
| download | yuzu-3f1a3952d707bce7851652ce54701ca14334f314.tar.gz yuzu-3f1a3952d707bce7851652ce54701ca14334f314.tar.xz yuzu-3f1a3952d707bce7851652ce54701ca14334f314.zip | |
FS: Allow multiple instances of the same archive type to be open at once
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 52730a7b4..94dcc50f9 100644 --- a/src/core/loader/loader.cpp +++ b/src/core/loader/loader.cpp | |||
| @@ -127,7 +127,7 @@ ResultStatus LoadFile(const std::string& filename) { | |||
| 127 | // Load application and RomFS | 127 | // Load application and RomFS |
| 128 | if (ResultStatus::Success == app_loader.Load()) { | 128 | if (ResultStatus::Success == app_loader.Load()) { |
| 129 | Kernel::g_program_id = app_loader.GetProgramId(); | 129 | Kernel::g_program_id = app_loader.GetProgramId(); |
| 130 | Service::FS::CreateArchive(Common::make_unique<FileSys::Archive_RomFS>(app_loader), Service::FS::ArchiveIdCode::RomFS); | 130 | Service::FS::RegisterArchiveType(Common::make_unique<FileSys::ArchiveFactory_RomFS>(app_loader), Service::FS::ArchiveIdCode::RomFS); |
| 131 | return ResultStatus::Success; | 131 | return ResultStatus::Success; |
| 132 | } | 132 | } |
| 133 | break; | 133 | break; |