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:
parent
55c18d1d10
commit
a9c6a59307
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue