[DatTools] Revert one usage of Path.Combine

This commit is contained in:
Matt Nadareski
2016-06-20 20:19:46 -07:00
parent 854a3369a0
commit 2854371d54

View File

@@ -2144,7 +2144,9 @@ namespace SabreTools.Helper
rootpath += (rootpath == "" ? "" : Path.DirectorySeparatorChar.ToString());
filename = filename.Remove(0, rootpath.Length);
newrom.Game = Path.Combine(Path.GetDirectoryName(filename), Path.GetFileNameWithoutExtension(filename), newrom.Game);
newrom.Game = Path.GetDirectoryName(filename) + Path.DirectorySeparatorChar
+ Path.GetFileNameWithoutExtension(filename) + Path.DirectorySeparatorChar
+ newrom.Game;
newroms.Add(newrom);
}
userData.Roms[key] = newroms;