mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
DiscIO/RiivolutionPatcher: Skip main.dol patches if no main.dol was given.
This commit is contained in:
@@ -397,7 +397,7 @@ static void ApplyFilePatchToFST(const Patch& patch, const File& file,
|
||||
if (node)
|
||||
ApplyPatchToFile(patch, file, node);
|
||||
}
|
||||
else if (CaseInsensitiveEquals(file.m_disc, "main.dol"))
|
||||
else if (dol_node && CaseInsensitiveEquals(file.m_disc, "main.dol"))
|
||||
{
|
||||
// Special case: If the filename is "main.dol", we want to patch the main executable.
|
||||
ApplyPatchToFile(patch, file, dol_node);
|
||||
|
||||
Reference in New Issue
Block a user