1
0
Fork 0
forked from suyu/suyu

loader: Fix scope error in DeconstructedRomDirectory

This commit is contained in:
Zach Hilman 2018-08-07 10:37:38 -04:00
parent 826b1394e8
commit 3e81c09094

View file

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