diff options
author | wwylele <wwylele@gmail.com> | 2016-05-06 20:42:13 +0200 |
---|---|---|
committer | wwylele <wwylele@gmail.com> | 2016-05-06 20:42:13 +0200 |
commit | d2182568ad7541078543c89a7ec4bd852b645228 (patch) | |
tree | 7cb342e95e7f8184e98acd01b85167c823e18e1b | |
parent | Merge pull request #1762 from bunnei/global (diff) | |
download | yuzu-d2182568ad7541078543c89a7ec4bd852b645228.tar yuzu-d2182568ad7541078543c89a7ec4bd852b645228.tar.gz yuzu-d2182568ad7541078543c89a7ec4bd852b645228.tar.bz2 yuzu-d2182568ad7541078543c89a7ec4bd852b645228.tar.lz yuzu-d2182568ad7541078543c89a7ec4bd852b645228.tar.xz yuzu-d2182568ad7541078543c89a7ec4bd852b645228.tar.zst yuzu-d2182568ad7541078543c89a7ec4bd852b645228.zip |
-rw-r--r-- | src/core/loader/loader.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp index 0d4c1d351..af3f62248 100644 --- a/src/core/loader/loader.cpp +++ b/src/core/loader/loader.cpp @@ -144,11 +144,12 @@ ResultStatus LoadFile(const std::string& filename) { case FileType::CCI: { // Load application and RomFS - if (ResultStatus::Success == app_loader->Load()) { + ResultStatus result = app_loader->Load(); + if (ResultStatus::Success == result) { Service::FS::RegisterArchiveType(std::make_unique<FileSys::ArchiveFactory_RomFS>(*app_loader), Service::FS::ArchiveIdCode::RomFS); return ResultStatus::Success; } - break; + return result; } // Standard ELF file format... |