add WriteMachineStatsHtml, WriteMachineStatsHtml; only write machine

stats by default
This commit is contained in:
Glenn Maynard
2004-05-21 01:52:45 +00:00
parent 7ff0786223
commit cb582d1803
4 changed files with 19 additions and 2 deletions
@@ -18,7 +18,13 @@ static void SaveMachineStatsToFirstMemCard()
CString sDir = MEM_CARD_MOUNT_POINT[pn];
sDir += "MachineProfile/";
bool bOldVal = PREFSMAN->m_bWriteMachineStatsHtml;
PREFSMAN->m_bWriteMachineStatsHtml = true;
PROFILEMAN->GetMachineProfile()->SaveAllToDir( sDir, PREFSMAN->m_bSignProfileData );
PREFSMAN->m_bWriteMachineStatsHtml = bOldVal;
SCREENMAN->SystemMessage( ssprintf("Machine stats saved to P%d card.",pn+1) );
return;
}