mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-08-03 10:09:35 -05:00
Skip extension finding
No need since the program manages internally.
This commit is contained in:
parent
26fabab206
commit
dd02478a6d
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user