don't lookup things in symbol map unnecessarily in the ppcanalyst, helps slowdowns in debugger in debug mode

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@400 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hrydgard 2008-08-31 08:39:57 +00:00
parent 55c18d1d10
commit a9c6a59307
1 changed files with 3 additions and 2 deletions

View File

@ -296,9 +296,10 @@ CodeOp *Flatten(u32 address, u32 &realsize, BlockStats &st, BlockRegStats &gpa,
};
Todo todo = Nothing;
Symbol *f = g_symbolDB.GetSymbolFromAddr(address);
//Symbol *f = g_symbolDB.GetSymbolFromAddr(address);
int maxsize = 20000;
//for now, all will return JustCopy :P
/*
if (f)
{
if (f->flags & FFLAG_LEAF)
@ -320,7 +321,7 @@ CodeOp *Flatten(u32 address, u32 &realsize, BlockStats &st, BlockRegStats &gpa,
maxsize = f->size;
}
else
else*/
todo = JustCopy;
CodeOp *code = codebuffer; //new CodeOp[size];