Show message when a Profile load fails so that the player doesn't accidentally save over their possibly-good data.

Save a copy of Stats.xml to the memory card after a successful load.  I have seen one instance where the digital signature on save is bogus, and there's no way for the player to recover their data.
Update Stats.xsl text help text.
This commit is contained in:
Chris Danford
2004-10-06 08:39:38 +00:00
parent 12c21c302c
commit ebb9e730a4
6 changed files with 128 additions and 77 deletions
+2 -1
View File
@@ -260,7 +260,7 @@ public:
//
// Loading and saving
//
bool LoadAllFromDir( CString sDir, bool bRequireSignature ); // return false on error
bool LoadAllFromDir( CString sDir, bool bRequireSignature ); // return false on a tamper or corruption error
bool SaveAllToDir( CString sDir, bool bSignData ) const;
void LoadEditableDataFromDir( CString sDir );
@@ -274,6 +274,7 @@ public:
void LoadRecentCourseScoresFromNode( const XNode* pNode );
void SaveEditableDataToDir( CString sDir ) const;
bool SaveStatsXmlToDir( CString sDir, bool bSignData ) const;
XNode* SaveGeneralDataCreateNode() const;
XNode* SaveSongScoresCreateNode() const;
XNode* SaveCourseScoresCreateNode() const;