Write out scores and prefs immediately upon change instead of when app exits, since Android doesn't really exit normally.

This commit is contained in:
elasota
2020-11-03 19:02:22 -05:00
parent 3b5f222d98
commit 43cfb7ea6b
7 changed files with 38 additions and 20 deletions

View File

@@ -99,6 +99,7 @@ void SortHighScores (void);
void ZeroHighScores (void);
void ZeroAllButHighestScore (void);
Boolean TestHighScore (void);
void WriteScores (void); // Either saves the house or saves scores, depending on if it's read-only
Boolean WriteScoresToDisk (void);
Boolean ReadScoresFromDisk (void);