(DecryptYstb): additional version check.

This commit is contained in:
morkt 2017-01-06 05:09:43 +04:00
parent 2e7154a394
commit 86ec14f9e1

View File

@ -354,7 +354,7 @@ namespace GameRes.Formats.YuRis
uint* header = (uint*)raw; uint* header = (uint*)raw;
uint version = header[1]; uint version = header[1];
int first_item, last_item; int first_item, last_item;
if (version >= 0x1CE) if (version >= 0x1CE || 0x12C == version)
{ {
first_item = 3; first_item = 3;
last_item = 7; last_item = 7;