mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 12:39:16 +08:00
refined instdata.arc special case.
This commit is contained in:
parent
9371221b19
commit
56ec975998
@ -100,7 +100,8 @@ namespace GameRes.Formats.Rpm
|
||||
return null;
|
||||
|
||||
// special case for "instdata.arc" archives
|
||||
if (Path.GetFileName (file.Name).Equals ("instdata.arc", StringComparison.InvariantCultureIgnoreCase))
|
||||
if (scheme.Keyword != "inst"
|
||||
&& Path.GetFileName (file.Name).Equals ("instdata.arc", StringComparison.InvariantCultureIgnoreCase))
|
||||
scheme = new EncryptionScheme ("inst", scheme.NameLength);
|
||||
|
||||
int index_size = count * (scheme.NameLength + 12);
|
||||
|
Loading…
x
Reference in New Issue
Block a user