Browse Source

re-introduced exit(retval) hack as otherwise app wouldnt quit properly

fysx 12 years ago
parent
commit
2bbccc6879
1 changed files with 4 additions and 0 deletions
  1. 4 0
      jni/love/src/love.cpp

+ 4 - 0
jni/love/src/love.cpp

@@ -248,6 +248,10 @@ int main(int argc, char **argv)
 #endif // LOVE_LEGENDARY_UTF8_ARGV_HACK || LOVE_LEGENDARY_APP_ARGV_HACK
 #endif // LOVE_LEGENDARY_UTF8_ARGV_HACK || LOVE_LEGENDARY_APP_ARGV_HACK
 	SDL_Quit();
 	SDL_Quit();
 
 
+#ifdef __ANDROID__
+	exit(retval);
+#endif
+
 	return retval;
 	return retval;
 }
 }