summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-07 17:18:52 +0200
committerGitHub <noreply@github.com>2018-08-07 17:18:52 +0200
commit438d9aa4077ae3d75d81f60812ec88338c0bdf8a (patch)
tree5aaa4c4db31399ed8702093431cb8596d611fcc8
parentMerge pull request #931 from DarkLordZach/nca-as-drd (diff)
parentloader: Fix scope error in DeconstructedRomDirectory (diff)
downloadyuzu-438d9aa4077ae3d75d81f60812ec88338c0bdf8a.tar
yuzu-438d9aa4077ae3d75d81f60812ec88338c0bdf8a.tar.gz
yuzu-438d9aa4077ae3d75d81f60812ec88338c0bdf8a.tar.bz2
yuzu-438d9aa4077ae3d75d81f60812ec88338c0bdf8a.tar.lz
yuzu-438d9aa4077ae3d75d81f60812ec88338c0bdf8a.tar.xz
yuzu-438d9aa4077ae3d75d81f60812ec88338c0bdf8a.tar.zst
yuzu-438d9aa4077ae3d75d81f60812ec88338c0bdf8a.zip
-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(
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");