mirror of
https://git.ryujinx.app/kenji-nx/ryujinx.git
synced 2025-12-13 13:37:08 +00:00
fix: use accurate length for enumerating
See merge request ryubing/ryujinx!49
This commit is contained in:
parent
5983cb9e5f
commit
d3f3eacc41
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ namespace ARMeilleure.Translation.PTC
|
|||
_infosStream.Seek(0L, SeekOrigin.Begin);
|
||||
bool foundBadFunction = false;
|
||||
|
||||
for (int index = 0; index < GetEntriesCount(); index++)
|
||||
for (int index = 0; index < _infosStream.Length / Unsafe.SizeOf<InfoEntry>(); index++)
|
||||
{
|
||||
InfoEntry infoEntry = DeserializeStructure<InfoEntry>(_infosStream);
|
||||
foreach (ulong address in blacklist)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue