diff options
Diffstat (limited to 'src/app.c')
-rw-r--r-- | src/app.c | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1089,6 +1089,13 @@ void processEvents_App(enum iAppEventMode eventMode) { | |||
1089 | postRefresh_App(); | 1089 | postRefresh_App(); |
1090 | break; | 1090 | break; |
1091 | case SDL_APP_WILLENTERBACKGROUND: | 1091 | case SDL_APP_WILLENTERBACKGROUND: |
1092 | #if defined (iPlatformAppleMobile) | ||
1093 | updateNowPlayingInfo_iOS(); | ||
1094 | #endif | ||
1095 | setFreezeDraw_Window(d->window, iTrue); | ||
1096 | savePrefs_App_(d); | ||
1097 | saveState_App_(d); | ||
1098 | break; | ||
1092 | case SDL_APP_TERMINATING: | 1099 | case SDL_APP_TERMINATING: |
1093 | setFreezeDraw_Window(d->window, iTrue); | 1100 | setFreezeDraw_Window(d->window, iTrue); |
1094 | savePrefs_App_(d); | 1101 | savePrefs_App_(d); |