project_files/HedgewarsMobile/Classes/SDL_uikitappdelegate.m
changeset 3548 4d220ee7c75f
parent 3547 02875b1145b7
child 3598 a8aa06bae895
equal deleted inserted replaced
3547:02875b1145b7 3548:4d220ee7c75f
   145         // hack to prevent automatic termination. See SDL_uikitevents.m for details
   145         // hack to prevent automatic termination. See SDL_uikitevents.m for details
   146         longjmp(*(jump_env()), 1);
   146         longjmp(*(jump_env()), 1);
   147     }
   147     }
   148 }
   148 }
   149 
   149 
       
   150 -(void) applicationDidReceiveMemoryWarning:(UIApplication *)application {
       
   151     print_free_memory();
       
   152 }
       
   153 
   150 -(void) applicationWillResignActive:(UIApplication *)application {
   154 -(void) applicationWillResignActive:(UIApplication *)application {
   151     //NSLog(@"%@", NSStringFromSelector(_cmd));
   155     //NSLog(@"%@", NSStringFromSelector(_cmd));
   152     if (isInGame) {
   156     if (isInGame) {
   153         HW_pause();
   157         HW_pause();
   154         
   158