mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
DiscIO/Riivolution: Add dolphin-specific extensions "dolphin_sys_file" and "dolphin_sys_folder" to patch sys files like you would patch regular files.
This commit is contained in:
@ -701,7 +701,8 @@ void AddRiivolutionPatches(BootParameters* boot_params,
|
||||
disc.volume = DiscIO::CreateDisc(DiscIO::DirectoryBlobReader::Create(
|
||||
std::move(disc.volume),
|
||||
[&](std::vector<DiscIO::FSTBuilderNode>* fst, DiscIO::FSTBuilderNode* dol_node) {
|
||||
DiscIO::Riivolution::ApplyPatchesToFiles(riivolution_patches, fst, dol_node);
|
||||
DiscIO::Riivolution::ApplyPatchesToFiles(
|
||||
riivolution_patches, DiscIO::Riivolution::PatchIndex::FileSystem, fst, dol_node);
|
||||
}));
|
||||
boot_params->riivolution_patches = std::move(riivolution_patches);
|
||||
}
|
||||
|
Reference in New Issue
Block a user