mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
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:
@@ -24,6 +24,7 @@
|
||||
|
||||
#define kGoToDialogID 1043
|
||||
|
||||
void WriteOutPrefs(void);
|
||||
|
||||
void UpdateGoToDialog (Dialog *);
|
||||
int16_t GoToFilter (void *context, Dialog *dial, const TimeTaggedVOSEvent *evt);
|
||||
@@ -104,6 +105,8 @@ Boolean CreateNewHouse (void)
|
||||
InitCursor();
|
||||
if (!OpenHouse())
|
||||
return (false);
|
||||
|
||||
WriteOutPrefs();
|
||||
|
||||
return (true);
|
||||
}
|
||||
|
Reference in New Issue
Block a user