From: Laszlo T. <ave...@us...> - 2010-12-27 10:54:55
|
gemrb: Infinity Engine emulator The branch master has been updated via 268ce696ec08714dde7ab314192365c7c796e415 (commit) Summary of changes: gemrb/GemRB.cpp | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) from 2580b8ddbf93f4eaa1bc644fb3665e85cbf5f02a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://gemrb.git.sourceforge.net/git/gitweb.cgi?p=gemrb/gemrb;a=commitdiff;h=268ce696ec08714dde7ab314192365c7c796e415 commit 268ce696ec08714dde7ab314192365c7c796e415 Author: Avenger <ave...@so...> Date: Mon Dec 27 11:54:09 2010 +0100 moved the callback setting later when AudioDriver is less likely to be NULL diff --git a/gemrb/GemRB.cpp b/gemrb/GemRB.cpp index f6c3d7b..9f8b08b 100644 --- a/gemrb/GemRB.cpp +++ b/gemrb/GemRB.cpp @@ -52,9 +52,6 @@ static void appPutToForeground() int main(int argc, char* argv[]) { -#ifdef ANDROID - SDL_ANDROID_SetApplicationPutToBackgroundCallback(&appPutToBackground, &appPutToForeground); -#endif Interface::SanityCheck(VERSION_GEMRB); core = new Interface( argc, argv ); if (core->Init() == GEM_ERROR) { @@ -64,6 +61,9 @@ int main(int argc, char* argv[]) getc(stdin); return -1; } +#ifdef ANDROID + SDL_ANDROID_SetApplicationPutToBackgroundCallback(&appPutToBackground, &appPutToForeground); +#endif core->Main(); delete( core ); textcolor(DEFAULT); ----------------------------------------------------------------------- This is an automated email from the git hooks/post-receive script. -- gemrb: Infinity Engine emulator |