TAStudio: add trailing slash so loading a bk2 multiple times properly puts the file in the movies folder
This commit is contained in:
parent
32031d0f67
commit
53b61d9cfa
|
@ -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