mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Port AddRomsFromParent for IDDB
This commit is contained in:
@@ -156,6 +156,7 @@ namespace SabreTools.Filtering
|
||||
while (AddRomsFromDevices(datFile, true, true)) ;
|
||||
AddRomsFromDevices(datFile, false, true);
|
||||
AddRomsFromParent(datFile);
|
||||
datFile.ItemsDB.AddRomsFromParent();
|
||||
|
||||
// Now that we have looped through the cloneof tags, we loop through the romof tags
|
||||
AddRomsFromBios(datFile);
|
||||
@@ -203,6 +204,7 @@ namespace SabreTools.Filtering
|
||||
|
||||
// Now we want to loop through all of the games and set the correct information
|
||||
AddRomsFromParent(datFile);
|
||||
datFile.ItemsDB.AddRomsFromParent();
|
||||
|
||||
// Now that we have looped through the cloneof tags, we loop through the romof tags
|
||||
RemoveBiosRomsFromChild(datFile, false);
|
||||
@@ -490,8 +492,6 @@ namespace SabreTools.Filtering
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Add AddRomsFromParentDB
|
||||
|
||||
/// <summary>
|
||||
/// Use cloneof tags to add roms to the parents, removing the child sets in the process
|
||||
/// </summary>
|
||||
@@ -613,8 +613,6 @@ namespace SabreTools.Filtering
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Add AddRomsFromChildrenDB
|
||||
|
||||
/// <summary>
|
||||
/// Remove all BIOS and device sets
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user