mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-27 08:10:13 -06:00
Ok, part 2/2 of the symbol code rewrite. You can now create and use function signature files. A monkey ball signature file included. Now to add some cooler features...
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@294 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -167,7 +167,7 @@ void LogManager::Log(LogTypes::LOG_TYPE _type, const char *_fmt, ...)
|
||||
|
||||
char* Msg2 = (char*)alloca(strlen(_fmt)+512);
|
||||
|
||||
Debugger::XSymbolIndex Index = 0; //Debugger::FindSymbol(PC);
|
||||
int Index = 0; //Debugger::FindSymbol(PC);
|
||||
#ifdef _WIN32
|
||||
const char *eol = "\x0D\x0A";
|
||||
#else
|
||||
@ -175,12 +175,12 @@ void LogManager::Log(LogTypes::LOG_TYPE _type, const char *_fmt, ...)
|
||||
#endif
|
||||
if (Index > 0)
|
||||
{
|
||||
const Debugger::Symbol& symbol = Debugger::GetSymbol(Index);
|
||||
// const Debugger::Symbol& symbol = Debugger::GetSymbol(Index);
|
||||
sprintf(Msg2, "%i: %x %s (%s, %08x ) : %s%s",
|
||||
++count,
|
||||
PowerPC::ppcState.DebugCount,
|
||||
m_Log[_type]->m_szShortName,
|
||||
symbol.GetName().c_str(),
|
||||
"", //symbol.GetName().c_str(),
|
||||
PC,
|
||||
Msg, eol);
|
||||
}
|
||||
|
Reference in New Issue
Block a user