mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-24 07:06:36 +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:
@@ -99,6 +99,7 @@ void FlashSettingsButton (DrawSurface *, short);
|
||||
void UpdateSettingsMain (Dialog *);
|
||||
int16_t PrefsFilter(void *context, Dialog *dialog, const TimeTaggedVOSEvent *evt);
|
||||
void BitchAboutChanges (void);
|
||||
void WriteOutPrefs (void);
|
||||
|
||||
|
||||
Rect prefButton[4], controlRects[4];
|
||||
@@ -1358,6 +1359,8 @@ void DoSettingsMain (void)
|
||||
}
|
||||
|
||||
PortabilityLayer::HostDisplayDriver::GetInstance()->SetUseICCProfile(isUseICCProfile);
|
||||
|
||||
WriteOutPrefs();
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------- BitchAboutChanges
|
||||
|
Reference in New Issue
Block a user