1 // Copyright (C) 2003 Dolphin Project.
3 // This program is free software: you can redistribute it and/or modify
4 // it under the terms of the GNU General Public License as published by
5 // the Free Software Foundation, version 2.0.
7 // This program is distributed in the hope that it will be useful,
8 // but WITHOUT ANY WARRANTY; without even the implied warranty of
9 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 // GNU General Public License 2.0 for more details.
12 // A copy of the GPL 2.0 should have been included with the program.
13 // If not, see http://www.gnu.org/licenses/
15 // Official SVN repository and contact information can be found at
16 // http://code.google.com/p/dolphin-emu/
23 #include "AudioCommon.h"
27 namespace DSPSymbols
{
29 class DSPSymbolDB
: public SymbolDB
35 Symbol
*GetSymbolFromAddr(u32 addr
);
39 extern DSPSymbolDB g_dsp_symbol_db
;
41 bool ReadAnnotatedAssembly(const char *filename
);
42 void AutoDisassembly(u16 start_addr
, u16 end_addr
);
46 int Addr2Line(u16 address
);
47 int Line2Addr(int line
); // -1 for not found
49 const char *GetLineText(int line
);
51 } // namespace DSPSymbols