Merge pull request #1344 from LittleWhite-tb/error-output

Output errors in GUI
This commit is contained in:
bunnei 2016-03-08 23:12:04 -05:00
commit 8530a2d7df
12 changed files with 95 additions and 24 deletions

View file

@ -137,11 +137,11 @@ ResultStatus LoadFile(const std::string& filename) {
AppLoader_NCCH app_loader(std::move(file), filename);
// Load application and RomFS
if (ResultStatus::Success == app_loader.Load()) {
ResultStatus result = app_loader.Load();
if (ResultStatus::Success == result) {
Service::FS::RegisterArchiveType(Common::make_unique<FileSys::ArchiveFactory_RomFS>(app_loader), Service::FS::ArchiveIdCode::RomFS);
return ResultStatus::Success;
}
break;
return result;
}
// CIA file format...