mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatTools] Use new comparer to get file-system order
This commit is contained in:
@@ -1516,7 +1516,7 @@ namespace SabreTools.Helper
|
|||||||
{
|
{
|
||||||
return sortable;
|
return sortable;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Process each all of the roms
|
// Process each all of the roms
|
||||||
foreach (string key in dict.Keys)
|
foreach (string key in dict.Keys)
|
||||||
{
|
{
|
||||||
@@ -2687,7 +2687,12 @@ namespace SabreTools.Helper
|
|||||||
int depth = 2, last = -1;
|
int depth = 2, last = -1;
|
||||||
string lastgame = null;
|
string lastgame = null;
|
||||||
List<string> splitpath = new List<string>();
|
List<string> splitpath = new List<string>();
|
||||||
foreach (string key in sortable.Keys)
|
|
||||||
|
// Get a properly sorted set of keys
|
||||||
|
List<string> keys = sortable.Keys.ToList();
|
||||||
|
keys.Sort(Style.CompareNumeric);
|
||||||
|
|
||||||
|
foreach (string key in keys)
|
||||||
{
|
{
|
||||||
List<Rom> roms = sortable[key];
|
List<Rom> roms = sortable[key];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user