mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-03 08:59:59 +00:00
Merge pull request #961 from DarkLordZach/nca-as-drd-scope
loader: Fix scope error in DeconstructedRomDirectory
This commit is contained in:
commit
438d9aa407
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ ResultStatus AppLoader_DeconstructedRomDirectory::Load(
|
||||||
if (dir == nullptr) {
|
if (dir == nullptr) {
|
||||||
if (file == nullptr)
|
if (file == nullptr)
|
||||||
return ResultStatus::ErrorInvalidFormat;
|
return ResultStatus::ErrorInvalidFormat;
|
||||||
const FileSys::VirtualDir dir = file->GetContainingDirectory();
|
dir = file->GetContainingDirectory();
|
||||||
}
|
}
|
||||||
|
|
||||||
const FileSys::VirtualFile npdm = dir->GetFile("main.npdm");
|
const FileSys::VirtualFile npdm = dir->GetFile("main.npdm");
|
||||||
|
|
Loading…
Reference in a new issue