mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-24 21:42:49 +00:00
loader: Fix scope error in DeconstructedRomDirectory
This commit is contained in:
parent
826b1394e8
commit
3e81c09094
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue