Improved array caching for ResourceAnalyzer

This commit is contained in:
dexy
2020-03-13 23:23:54 +11:00
Unverified
parent 7712807c36
commit 4941f86193
4 changed files with 81 additions and 31 deletions
@@ -4097,7 +4097,7 @@ namespace CodeWalker.GameFiles
Counts[i] = reader.ReadUInt32();
}
ulong[] ptrlist = reader.ReadUlongsAt(ptr, 8);
ulong[] ptrlist = reader.ReadUlongsAt(ptr, 8, false);
//if (ptr != (ulong)reader.Position)
//{ }//no hit
@@ -4105,7 +4105,7 @@ namespace CodeWalker.GameFiles
for (int i = 0; i < 8; i++)
{
Items[i] = reader.ReadUintsAt(ptrlist[i], Counts[i]);
Items[i] = reader.ReadUintsAt(ptrlist[i], Counts[i], false);
//if (ptrlist[i] != ptr)
//{ ptr = ptrlist[i]; }//no hit