Without recompiling, there's no way to see it in logcat otherwise.
Thread::setName("Main");
+ char *argv[] = {strdup(PROJECT_NAME), strdup("--verbose"), nullptr};
try {
- char *argv[] = {strdup(PROJECT_NAME), nullptr};
main(ARRLEN(argv) - 1, argv);
- free(argv[0]);
} catch (std::exception &e) {
errorstream << "Uncaught exception in main thread: " << e.what() << std::endl;
retval = -1;
errorstream << "Uncaught exception in main thread!" << std::endl;
retval = -1;
}
+ free(argv[0]);
+ free(argv[1]);
porting::cleanupAndroid();
infostream << "Shutting down." << std::endl;