Преглед изворни кода

Fix guest stack trace inexistent function names (#2326)

gdkchan пре 4 година
родитељ
комит
91fdaea39b
1 измењених фајлова са 0 додато и 11 уклоњено
  1. 0 11
      Ryujinx.HLE/HOS/Kernel/Process/HleProcessDebugger.cs

+ 0 - 11
Ryujinx.HLE/HOS/Kernel/Process/HleProcessDebugger.cs

@@ -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;