equal
deleted
inserted
replaced
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 |