Removed extension swap in ToWav function in Binka Class

This caused the ToWav function to not function as it looked for a ".wav" file before the conversion can occur.
This commit is contained in:
MattNL
2023-01-10 13:39:51 -05:00
parent e96c7e7692
commit eb3df10429

View File

@@ -57,10 +57,7 @@ namespace PckStudio.Classes
switch (ext)
{
case ".binka":
inputFilename = inputFilename.Replace(".binka", ".wav");
break;
case ".wav":
inputFilename = inputFilename.Replace(".wav", ".binka");
break;
default:
throw new NotSupportedException(nameof(ext)+":"+ext);