git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1745 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY 2009-01-03 14:39:57 +00:00
parent 2d5f6f6b01
commit 7fc4f19750
1 changed files with 4 additions and 1 deletions

View File

@ -707,9 +707,12 @@ void PrintInstructionRunCounts()
temp.push_back(x); temp.push_back(x);
} }
std::sort(temp.begin(), temp.end()); std::sort(temp.begin(), temp.end());
for (int i = m_numInstructions; i > 1; i--) for (int i = 0; i < m_numInstructions; i++)
{ {
if(temp[i].count == 0)
break;
LOG(GEKKO, "%s : %i", temp[i].name,temp[i].count); LOG(GEKKO, "%s : %i", temp[i].name,temp[i].count);
//PanicAlert("%s : %i", temp[i].name,temp[i].count);
} }
} }