mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] HTML encoded game names for mono worked, so added safeguards are no longer needed.
This commit is contained in:
@@ -2288,13 +2288,6 @@ namespace SabreTools.Helper
|
|||||||
keys = sortable.Keys.ToList();
|
keys = sortable.Keys.ToList();
|
||||||
foreach (string key in keys)
|
foreach (string key in keys)
|
||||||
{
|
{
|
||||||
// If the dictionary somehow doesn't have the key in question, continue
|
|
||||||
if (!sortable.ContainsKey(key))
|
|
||||||
{
|
|
||||||
logger.Warning("SortedDictionary does not contain key: " + key);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
List<DatItem> sortedlist = sortable[key];
|
List<DatItem> sortedlist = sortable[key];
|
||||||
DatItem.Sort(ref sortedlist, norename);
|
DatItem.Sort(ref sortedlist, norename);
|
||||||
sortable[key] = sortedlist;
|
sortable[key] = sortedlist;
|
||||||
@@ -2987,13 +2980,6 @@ namespace SabreTools.Helper
|
|||||||
|
|
||||||
foreach (string key in keys)
|
foreach (string key in keys)
|
||||||
{
|
{
|
||||||
// If the dictionary somehow doesn't have the key in question, continue
|
|
||||||
if (!sortable.ContainsKey(key))
|
|
||||||
{
|
|
||||||
logger.Warning("SortedDictionary does not contain key: " + key);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
List<DatItem> roms = sortable[key];
|
List<DatItem> roms = sortable[key];
|
||||||
|
|
||||||
for (int index = 0; index < roms.Count; index++)
|
for (int index = 0; index < roms.Count; index++)
|
||||||
|
|||||||
Reference in New Issue
Block a user