mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 15:44:00 +08:00
(ICipher): fixed typo.
noticed it when "star" refused to autocomplete.
This commit is contained in:
parent
e0a75a6ab8
commit
bc82a2bdfb
@ -222,7 +222,7 @@ namespace GameRes.Formats.KiriKiri
|
||||
entry.Name = name;
|
||||
entry.Type = FormatCatalog.Instance.GetTypeFromName (entry.Name);
|
||||
entry.IsEncrypted = !(entry.Cipher is NoCrypt)
|
||||
&& !(entry.Cipher.StratupTjsNotEncrypted && "startup.tjs" == name);
|
||||
&& !(entry.Cipher.StartupTjsNotEncrypted && "startup.tjs" == name);
|
||||
break;
|
||||
case 0x6d676573: // "segm"
|
||||
int segment_count = (int)(section_size / 0x1c);
|
||||
@ -539,7 +539,7 @@ NextEntry:
|
||||
Name = name,
|
||||
Cipher = scheme,
|
||||
IsEncrypted = use_encryption
|
||||
&& !(scheme.StratupTjsNotEncrypted && name.EndsWith ("startup.tjs"))
|
||||
&& !(scheme.StartupTjsNotEncrypted && name.EndsWith ("startup.tjs"))
|
||||
};
|
||||
bool compress = compress_contents && ShouldCompressFile (entry);
|
||||
using (var file = File.Open (name, FileMode.Open, FileAccess.Read))
|
||||
|
@ -41,7 +41,7 @@ namespace GameRes.Formats.KiriKiri
|
||||
/// <summary>
|
||||
/// sometimes startup.tjs file is not encrypted.
|
||||
/// </summary>
|
||||
public bool StratupTjsNotEncrypted { get; set; }
|
||||
public bool StartupTjsNotEncrypted { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// whether XP3 index is obfuscated:
|
||||
|
Loading…
Reference in New Issue
Block a user