mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
use XoredStream instead of CryptoStream with XorTransform.
This commit is contained in:
@@ -70,7 +70,7 @@ namespace GameRes.Formats.Slg
|
||||
public override Stream OpenEntry (ArcFile arc, Entry entry)
|
||||
{
|
||||
var input = arc.File.CreateStream (entry.Offset, entry.Size);
|
||||
return new CryptoStream (input, new XorTransform (0x90), CryptoStreamMode.Read);
|
||||
return new XoredStream (input, 0x90);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user