mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
added some XP3 encryption schemes.
This commit is contained in:
@@ -259,7 +259,10 @@ NextEntry:
|
||||
header.BaseStream.Position = dir_offset;
|
||||
}
|
||||
}
|
||||
return new ArcFile (file, this, dir);
|
||||
var arc = new ArcFile (file, this, dir);
|
||||
if (crypt_algorithm.IsValueCreated)
|
||||
crypt_algorithm.Value.Init (arc);
|
||||
return arc;
|
||||
}
|
||||
|
||||
static readonly Regex ObfuscatedPathRe = new Regex (@"[^\\/]+[\\/]\.\.[\\/]");
|
||||
|
||||
Reference in New Issue
Block a user