summaryrefslogtreecommitdiff
path: root/src/core/loader
diff options
context:
space:
mode:
authorGravatar Zach Hilman2018-08-07 10:37:38 -0400
committerGravatar Zach Hilman2018-08-07 10:37:38 -0400
commit3e81c0909420bf7323014613e7bbd884df662569 (patch)
tree5aaa4c4db31399ed8702093431cb8596d611fcc8 /src/core/loader
parentMerge pull request #931 from DarkLordZach/nca-as-drd (diff)
downloadyuzu-3e81c0909420bf7323014613e7bbd884df662569.tar.gz
yuzu-3e81c0909420bf7323014613e7bbd884df662569.tar.xz
yuzu-3e81c0909420bf7323014613e7bbd884df662569.zip
loader: Fix scope error in DeconstructedRomDirectory
Diffstat (limited to 'src/core/loader')
-rw-r--r--src/core/loader/deconstructed_rom_directory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/deconstructed_rom_directory.cpp b/src/core/loader/deconstructed_rom_directory.cpp
index 076927dff..9a8cdd0ff 100644
--- a/src/core/loader/deconstructed_rom_directory.cpp
+++ b/src/core/loader/deconstructed_rom_directory.cpp
@@ -41,7 +41,7 @@ ResultStatus AppLoader_DeconstructedRomDirectory::Load(
41 if (dir == nullptr) { 41 if (dir == nullptr) {
42 if (file == nullptr) 42 if (file == nullptr)
43 return ResultStatus::ErrorInvalidFormat; 43 return ResultStatus::ErrorInvalidFormat;
44 const FileSys::VirtualDir dir = file->GetContainingDirectory(); 44 dir = file->GetContainingDirectory();
45 } 45 }
46 46
47 const FileSys::VirtualFile npdm = dir->GetFile("main.npdm"); 47 const FileSys::VirtualFile npdm = dir->GetFile("main.npdm");