mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 12:39:16 +08:00
(ShiinaRio): check for older engine versions.
This commit is contained in:
parent
89d0c4e87e
commit
ca730f1c62
@ -156,7 +156,7 @@ namespace GameRes.Formats.ShiinaRio
|
|||||||
{
|
{
|
||||||
fac = Rand + m_scheme.ShiinaImage[idx];
|
fac = Rand + m_scheme.ShiinaImage[idx];
|
||||||
fac = DecryptHelper3 (fac) & 0xfffffff;
|
fac = DecryptHelper3 (fac) & 0xfffffff;
|
||||||
if (effective_length > 0x80)
|
if (effective_length > 0x80 && SchemeVersion > 2350)
|
||||||
{
|
{
|
||||||
DecryptHelper4 (data, index+4, m_scheme.HelperKey);
|
DecryptHelper4 (data, index+4, m_scheme.HelperKey);
|
||||||
index += 0x80;
|
index += 0x80;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user