mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[RombaSharp] Write code for "build"
This commit is contained in:
@@ -5381,7 +5381,16 @@ namespace SabreTools.Helper
|
||||
// Add the file information to the DAT
|
||||
lock (Files)
|
||||
{
|
||||
Files[key].Add(datItem);
|
||||
if (Files.ContainsKey(key))
|
||||
{
|
||||
Files[key].Add(datItem);
|
||||
}
|
||||
else
|
||||
{
|
||||
List<DatItem> temp = new List<DatItem>();
|
||||
temp.Add(datItem);
|
||||
Files.Add(key, temp);
|
||||
}
|
||||
}
|
||||
|
||||
logger.User("File added: " + romname + Environment.NewLine);
|
||||
|
||||
Reference in New Issue
Block a user