diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-10-04 20:09:11 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-10-04 20:09:11 +0200 |
commit | d0e6b936959cf1846009f5766a6bd597401a8fa5 (patch) | |
tree | 4eca32ed4a6a580d3b85dd428e5121ac6bb66915 /src/core | |
parent | fsmitm_romfsbuild: Extract stubs and IPS to romfs_ext dir (diff) | |
download | yuzu-d0e6b936959cf1846009f5766a6bd597401a8fa5.tar yuzu-d0e6b936959cf1846009f5766a6bd597401a8fa5.tar.gz yuzu-d0e6b936959cf1846009f5766a6bd597401a8fa5.tar.bz2 yuzu-d0e6b936959cf1846009f5766a6bd597401a8fa5.tar.lz yuzu-d0e6b936959cf1846009f5766a6bd597401a8fa5.tar.xz yuzu-d0e6b936959cf1846009f5766a6bd597401a8fa5.tar.zst yuzu-d0e6b936959cf1846009f5766a6bd597401a8fa5.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/file_sys/patch_manager.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp index 76b51fe56..d0dc731f8 100644 --- a/src/core/file_sys/patch_manager.cpp +++ b/src/core/file_sys/patch_manager.cpp @@ -172,7 +172,7 @@ static void ApplyLayeredFS(VirtualFile& romfs, u64 title_id, ContentRecordType t auto ext_dir = subdir->GetSubdirectory("romfs_ext"); if (ext_dir != nullptr) - layers.push_back(std::move(ext_dir)); + layers_ext.push_back(std::move(ext_dir)); } layers.push_back(std::move(extracted)); @@ -182,9 +182,6 @@ static void ApplyLayeredFS(VirtualFile& romfs, u64 title_id, ContentRecordType t } auto layered_ext = LayeredVfsDirectory::MakeLayeredDirectory(std::move(layers_ext)); - if (layered_ext == nullptr) { - return; - } auto packed = CreateRomFS(std::move(layered), std::move(layered_ext)); if (packed == nullptr) { |