diff --git a/Source/Core/Core/HW/DSPLLE/DSPSymbols.cpp b/Source/Core/Core/HW/DSPLLE/DSPSymbols.cpp index 8f190f1ebe..87c7e3d04d 100644 --- a/Source/Core/Core/HW/DSPLLE/DSPSymbols.cpp +++ b/Source/Core/Core/HW/DSPLLE/DSPSymbols.cpp @@ -15,8 +15,6 @@ namespace DSP::Symbols { -DSPSymbolDB g_dsp_symbol_db; - static std::map addr_to_line; static std::map line_to_addr; static std::vector lines; @@ -52,22 +50,6 @@ const char* GetLineText(int line) } } -Common::Symbol* DSPSymbolDB::GetSymbolFromAddr(u32 addr) -{ - auto it = m_functions.find(addr); - - if (it != m_functions.end()) - return &it->second; - - for (auto& func : m_functions) - { - if (addr >= func.second.address && addr < func.second.address + func.second.size) - return &func.second; - } - - return nullptr; -} - void AutoDisassembly(const SDSP& dsp, u16 start_addr, u16 end_addr) { AssemblerSettings settings; diff --git a/Source/Core/Core/HW/DSPLLE/DSPSymbols.h b/Source/Core/Core/HW/DSPLLE/DSPSymbols.h index f4e5ddba11..5d9e1cd158 100644 --- a/Source/Core/Core/HW/DSPLLE/DSPSymbols.h +++ b/Source/Core/Core/HW/DSPLLE/DSPSymbols.h @@ -15,16 +15,6 @@ struct SDSP; namespace DSP::Symbols { -class DSPSymbolDB : public Common::SymbolDB -{ -public: - DSPSymbolDB() {} - ~DSPSymbolDB() {} - Common::Symbol* GetSymbolFromAddr(u32 addr) override; -}; - -extern DSPSymbolDB g_dsp_symbol_db; - void AutoDisassembly(const SDSP& dsp, u16 start_addr, u16 end_addr); void Clear();