diff -r 0efcaa69d30c -r a5111ec4d25f cocoaTouch/SDLOverrides/SDL_uikitappdelegate.m --- a/cocoaTouch/SDLOverrides/SDL_uikitappdelegate.m Wed Jan 27 00:11:52 2010 +0000 +++ b/cocoaTouch/SDLOverrides/SDL_uikitappdelegate.m Wed Jan 27 19:58:52 2010 +0000 @@ -137,13 +137,14 @@ -(void) applicationDidReceiveMemoryWarning:(UIApplication *)application { UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Running low on memory" - message:@"Will try to free some memory but app may crash" + message:@"I will try to free some memory but game might slow down a little" delegate:nil cancelButtonTitle:@"Ok" otherButtonTitles:nil ]; [alert show]; [alert release]; } + #pragma mark - #pragma mark SDLUIKitDelegate methods // override the direct execution of SDL_main to allow us to implement the frontend (even using a nib) @@ -151,6 +152,7 @@ [application setStatusBarHidden:YES animated:NO]; [self checkFirstRun]; + /* Set working directory to resource path */ [[NSFileManager defaultManager] changeCurrentDirectoryPath: [[NSBundle mainBundle] resourcePath]];