3
0
Fork 0
forked from suyu/suyu

Merge pull request #961 from DarkLordZach/nca-as-drd-scope

loader: Fix scope error in DeconstructedRomDirectory
This commit is contained in:
bunnei 2018-08-07 11:18:52 -04:00 committed by GitHub
commit 438d9aa407
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ ResultStatus AppLoader_DeconstructedRomDirectory::Load(
if (dir == nullptr) {
if (file == nullptr)
return ResultStatus::ErrorInvalidFormat;
const FileSys::VirtualDir dir = file->GetContainingDirectory();
dir = file->GetContainingDirectory();
}
const FileSys::VirtualFile npdm = dir->GetFile("main.npdm");