mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-30 17:05:37 +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.Name = name;
|
||||||
entry.Type = FormatCatalog.Instance.GetTypeFromName (entry.Name);
|
entry.Type = FormatCatalog.Instance.GetTypeFromName (entry.Name);
|
||||||
entry.IsEncrypted = !(entry.Cipher is NoCrypt)
|
entry.IsEncrypted = !(entry.Cipher is NoCrypt)
|
||||||
&& !(entry.Cipher.StratupTjsNotEncrypted && "startup.tjs" == name);
|
&& !(entry.Cipher.StartupTjsNotEncrypted && "startup.tjs" == name);
|
||||||
break;
|
break;
|
||||||
case 0x6d676573: // "segm"
|
case 0x6d676573: // "segm"
|
||||||
int segment_count = (int)(section_size / 0x1c);
|
int segment_count = (int)(section_size / 0x1c);
|
||||||
@ -539,7 +539,7 @@ NextEntry:
|
|||||||
Name = name,
|
Name = name,
|
||||||
Cipher = scheme,
|
Cipher = scheme,
|
||||||
IsEncrypted = use_encryption
|
IsEncrypted = use_encryption
|
||||||
&& !(scheme.StratupTjsNotEncrypted && name.EndsWith ("startup.tjs"))
|
&& !(scheme.StartupTjsNotEncrypted && name.EndsWith ("startup.tjs"))
|
||||||
};
|
};
|
||||||
bool compress = compress_contents && ShouldCompressFile (entry);
|
bool compress = compress_contents && ShouldCompressFile (entry);
|
||||||
using (var file = File.Open (name, FileMode.Open, FileAccess.Read))
|
using (var file = File.Open (name, FileMode.Open, FileAccess.Read))
|
||||||
|
@ -41,7 +41,7 @@ namespace GameRes.Formats.KiriKiri
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// sometimes startup.tjs file is not encrypted.
|
/// sometimes startup.tjs file is not encrypted.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool StratupTjsNotEncrypted { get; set; }
|
public bool StartupTjsNotEncrypted { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// whether XP3 index is obfuscated:
|
/// whether XP3 index is obfuscated:
|
||||||
|
Loading…
Reference in New Issue
Block a user