mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-10-01 21:36:43 -05:00
Skip extension finding
No need since the program manages internally.
This commit is contained in:
@@ -212,7 +212,7 @@ public static bool garcUnpack(string garcPath, string outPath, bool skipDecompre
|
||||
compressed = true;
|
||||
else
|
||||
{
|
||||
ext = Util.GuessExtension(br, "bin", bypassExt);
|
||||
ext = "bin";
|
||||
br.BaseStream.Seek(0, SeekOrigin.Begin);
|
||||
}
|
||||
|
||||
@@ -240,7 +240,7 @@ public static bool garcUnpack(string garcPath, string outPath, bool skipDecompre
|
||||
catch (Exception e) { Util.Error("A compressed file could not be deleted.", fileout, e.ToString()); }
|
||||
|
||||
// Try to detect for extension now
|
||||
ext = Util.GuessExtension(decout, bypassExt);
|
||||
ext = "bin";
|
||||
|
||||
File.Move(decout, Path.Combine(outPath, "dec_" + filename + "." + ext));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user