Use a forward slash instead. the file name will display incorrect (as Movie/name) when first loaded, but at least it's in the right place.
This commit is contained in:
parent
53b61d9cfa
commit
35fdec2132
|
@ -304,7 +304,7 @@ namespace BizHawk.Client.Common
|
|||
int fileSuffix = 0;
|
||||
while (File.Exists(newFileName))
|
||||
{
|
||||
newFileName = $"{Path.GetDirectoryName(oldFileName)}\\{Path.GetFileNameWithoutExtension(oldFileName)} {++fileSuffix}.{TasMovie.Extension}";
|
||||
newFileName = $"{Path.GetDirectoryName(oldFileName)}/{Path.GetFileNameWithoutExtension(oldFileName)} {++fileSuffix}.{TasMovie.Extension}";
|
||||
}
|
||||
|
||||
return newFileName;
|
||||
|
|
Loading…
Reference in New Issue