From 91fdaea39bfceed051ad4df8f2ec954df8d59cc8 Mon Sep 17 00:00:00 2001
From: gdkchan <gab.dark.100@gmail.com>
Date: Sun, 30 May 2021 15:53:02 -0300
Subject: Fix guest stack trace inexistent function names (#2326)

---
 Ryujinx.HLE/HOS/Kernel/Process/HleProcessDebugger.cs | 11 -----------
 1 file changed, 11 deletions(-)

(limited to 'Ryujinx.HLE/HOS/Kernel/Process/HleProcessDebugger.cs')

diff --git a/Ryujinx.HLE/HOS/Kernel/Process/HleProcessDebugger.cs b/Ryujinx.HLE/HOS/Kernel/Process/HleProcessDebugger.cs
index 627049bc..e0cd4fbf 100644
--- a/Ryujinx.HLE/HOS/Kernel/Process/HleProcessDebugger.cs
+++ b/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;
-- 
cgit v1.2.3-70-g09d2