mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-24 02:46:08 +00:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user