mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(PsbReader): fixed deserialization.
This commit is contained in:
parent
75f37f9bfd
commit
5dbddd1273
@ -386,7 +386,7 @@ namespace GameRes.Formats.Emote
|
||||
foreach (var item in lookup)
|
||||
{
|
||||
int first = GetArrayElem (nm1, item.Key);
|
||||
for (int i = 0; i < 256; ++i)
|
||||
for (int i = 0; i < 256 && i + first < nm2.Count; ++i)
|
||||
{
|
||||
if (GetArrayElem (nm2, i + first) == item.Key)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user