mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Nothing means no output
This commit is contained in:
@@ -420,6 +420,13 @@ Make a selection:
|
|||||||
roms = RomManipulation.ParseDict(file, 0, tempSrcId, roms, _logger);
|
roms = RomManipulation.ParseDict(file, 0, tempSrcId, roms, _logger);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If the dictionary is empty for any reason, tell the user and exit
|
||||||
|
if (roms.Keys.Count == 0 || roms.Count == 0)
|
||||||
|
{
|
||||||
|
_logger.Log("No roms found for system ID " + systemid);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Now process all of the roms
|
// Now process all of the roms
|
||||||
_logger.Log("Cleaning rom data");
|
_logger.Log("Cleaning rom data");
|
||||||
List<string> keys = roms.Keys.ToList();
|
List<string> keys = roms.Keys.ToList();
|
||||||
|
|||||||
Reference in New Issue
Block a user