mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 06:06:50 +00:00
launcher(android): fix crashhandler initialization
This commit is contained in:
parent
44fef251c5
commit
7ca36e7b43
@ -27,6 +27,7 @@ char *LauncherArgv[512];
|
||||
char java_args[4096];
|
||||
int iLastArgs = 0;
|
||||
|
||||
extern void InitCrashHandler();
|
||||
DLL_EXPORT int LauncherMain( int argc, char **argv ); // from launcher.cpp
|
||||
|
||||
DLL_EXPORT int Java_com_valvesoftware_ValveActivity2_setenv(JNIEnv *jenv, jclass *jclass, jstring env, jstring value, jint over)
|
||||
@ -118,6 +119,8 @@ void android_property_print(const char *name)
|
||||
|
||||
DLL_EXPORT int LauncherMainAndroid( int argc, char **argv )
|
||||
{
|
||||
InitCrashHandler();
|
||||
|
||||
Msg("GetTotalMemory() = %.2f \n", GetTotalMemory());
|
||||
|
||||
android_property_print("ro.build.version.sdk");
|
||||
|
Loading…
Reference in New Issue
Block a user