mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 03:39:59 +00:00
Call main_exit_save_config from applicationWillResignActive
This commit is contained in:
parent
c76a293a2e
commit
95c09844ab
@ -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];
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user