profile debug works on any profile

This commit is contained in:
Glenn Maynard
2007-05-06 05:22:50 +00:00
parent 6b7f932f94
commit f006256ceb
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -746,7 +746,7 @@ class DebugLineClearProfileStats : public IDebugLine
virtual RString GetPageName() const { return "Profiles"; }
virtual void DoAndMakeSystemMessage( RString &sMessageOut )
{
Profile* pProfile = PROFILEMAN->GetMachineProfile();
Profile *pProfile = PROFILEMAN->GetProfile( g_ProfileSlot );
pProfile->ClearStats();
IDebugLine::DoAndMakeSystemMessage( sMessageOut );
}