summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-08-07 16:37:38 +0200
committerZach Hilman <zachhilman@gmail.com>2018-08-07 16:37:38 +0200
commit3e81c0909420bf7323014613e7bbd884df662569 (patch)
tree5aaa4c4db31399ed8702093431cb8596d611fcc8
parentMerge pull request #931 from DarkLordZach/nca-as-drd (diff)
downloadyuzu-3e81c0909420bf7323014613e7bbd884df662569.tar
yuzu-3e81c0909420bf7323014613e7bbd884df662569.tar.gz
yuzu-3e81c0909420bf7323014613e7bbd884df662569.tar.bz2
yuzu-3e81c0909420bf7323014613e7bbd884df662569.tar.lz
yuzu-3e81c0909420bf7323014613e7bbd884df662569.tar.xz
yuzu-3e81c0909420bf7323014613e7bbd884df662569.tar.zst
yuzu-3e81c0909420bf7323014613e7bbd884df662569.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");