mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-03 20:00:21 +08:00
(PsbReader): fixed deserialization.
This commit is contained in:
@@ -386,7 +386,7 @@ namespace GameRes.Formats.Emote
|
|||||||
foreach (var item in lookup)
|
foreach (var item in lookup)
|
||||||
{
|
{
|
||||||
int first = GetArrayElem (nm1, item.Key);
|
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)
|
if (GetArrayElem (nm2, i + first) == item.Key)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user