yuzu-emu
/
yuzu
Archived
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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");