diff options
author | Lioncash <mathew1800@gmail.com> | 2018-09-25 23:38:16 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-09-26 02:06:01 +0200 |
commit | 28bef31ea80478fe58bc4eeaf1b245005f15b36a (patch) | |
tree | 8ccdb13e155d15b44893a0477984cc83bdf41224 /src/core/file_sys/patch_manager.cpp | |
parent | vfs_static: Remove template byte parameter from StaticVfsFile (diff) | |
download | yuzu-28bef31ea80478fe58bc4eeaf1b245005f15b36a.tar yuzu-28bef31ea80478fe58bc4eeaf1b245005f15b36a.tar.gz yuzu-28bef31ea80478fe58bc4eeaf1b245005f15b36a.tar.bz2 yuzu-28bef31ea80478fe58bc4eeaf1b245005f15b36a.tar.lz yuzu-28bef31ea80478fe58bc4eeaf1b245005f15b36a.tar.xz yuzu-28bef31ea80478fe58bc4eeaf1b245005f15b36a.tar.zst yuzu-28bef31ea80478fe58bc4eeaf1b245005f15b36a.zip |
Diffstat (limited to 'src/core/file_sys/patch_manager.cpp')
-rw-r--r-- | src/core/file_sys/patch_manager.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cpp index af3f9a78f..561ad67a7 100644 --- a/src/core/file_sys/patch_manager.cpp +++ b/src/core/file_sys/patch_manager.cpp @@ -90,10 +90,9 @@ static void ApplyLayeredFS(VirtualFile& romfs, u64 title_id, ContentRecordType t layers.push_back(std::move(extracted)); - const auto layered = LayerDirectories(layers); - + auto layered = LayeredVfsDirectory::MakeLayeredDirectory(std::move(layers)); if (layered != nullptr) { - auto packed = CreateRomFS(layered); + auto packed = CreateRomFS(std::move(layered)); if (packed != nullptr) { LOG_INFO(Loader, " RomFS: LayeredFS patches applied successfully"); |