Fix guest stack trace inexistent function names (#2326)

This commit is contained in:
gdkchan 2021-05-30 15:53:02 -03:00 committed by GitHub
parent f6fcef483f
commit 91fdaea39b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,17 +167,6 @@ namespace Ryujinx.HLE.HOS.Kernel.Process
return true;
}
if (middle + 1 < image.Symbols.Length)
{
ElfSymbol next = image.Symbols[middle + 1];
// If our symbol points inbetween two symbols, we can *guess* that it's referring to the first one
if (address >= symbol.Value && address < next.Value)
{
return true;
}
}
if (address < symbol.Value)
{
right = middle - 1;