mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Fully implement full merge
This commit is contained in:
@@ -386,6 +386,11 @@ namespace SabreTools.Helper.Dats
|
||||
List<string> games = Keys.ToList();
|
||||
foreach (string game in games)
|
||||
{
|
||||
if (game.Contains("galaga"))
|
||||
{
|
||||
logger.Verbose("");
|
||||
}
|
||||
|
||||
// Determine if the game has any devices or not
|
||||
if (this[game][0].Machine.Devices.Count > 0)
|
||||
{
|
||||
@@ -581,9 +586,12 @@ namespace SabreTools.Helper.Dats
|
||||
games = Keys.ToList();
|
||||
foreach (string game in games)
|
||||
{
|
||||
if (this[game][0].Machine.MachineType == MachineType.Bios || this[game][0].Machine.MachineType == MachineType.Device)
|
||||
if (this[game].Count > 0)
|
||||
{
|
||||
Remove(game);
|
||||
if (this[game][0].Machine.MachineType == MachineType.Bios || this[game][0].Machine.MachineType == MachineType.Device)
|
||||
{
|
||||
Remove(game);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user