Call main_exit_save_config from applicationWillResignActive

This commit is contained in:
Twinaphex 2014-12-31 13:27:53 +01:00
parent c76a293a2e
commit 95c09844ab
2 changed files with 5 additions and 2 deletions

View File

@ -30,8 +30,12 @@
id<RetroArch_Platform> apple_platform;
/* forward decls */
void apple_rarch_exited(void);
void main_exit_save_config(void);
void apple_rarch_exited(void)
{
[apple_platform unloadingCore];
@ -254,6 +258,7 @@ void switch_to_ios() {
- (void)applicationWillResignActive:(UIApplication *)application
{
main_exit_save_config();
[self showPauseMenu: self];
}

View File

@ -28,8 +28,6 @@ extern "C" {
void main_exit(args_type() args);
void main_exit_save_config(void);
returntype main_entry(signature());
bool main_load_content(int argc, char **argv,