mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-14 02:38:04 -05:00
vfs_concat/vfs_layered: Remove friend declarations from ConcatenatedVfsFile
Given these are only added to the class to allow those functions to access the private constructor, it's a better approach to just make them static functions in the interface, to make the dependency explicit.
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user