mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 13:42:56 +00:00
patch_manager: Avoid romfs_ext requirement for patching
This commit is contained in:
parent
c1e069c066
commit
d0e6b93695
|
@ -172,7 +172,7 @@ static void ApplyLayeredFS(VirtualFile& romfs, u64 title_id, ContentRecordType t
|
||||||
|
|
||||||
auto ext_dir = subdir->GetSubdirectory("romfs_ext");
|
auto ext_dir = subdir->GetSubdirectory("romfs_ext");
|
||||||
if (ext_dir != nullptr)
|
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));
|
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));
|
auto layered_ext = LayeredVfsDirectory::MakeLayeredDirectory(std::move(layers_ext));
|
||||||
if (layered_ext == nullptr) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
auto packed = CreateRomFS(std::move(layered), std::move(layered_ext));
|
auto packed = CreateRomFS(std::move(layered), std::move(layered_ext));
|
||||||
if (packed == nullptr) {
|
if (packed == nullptr) {
|
||||||
|
|
Loading…
Reference in a new issue