diff --git a/Android/app/src/main/java/emu/project64/SplashActivity.java b/Android/app/src/main/java/emu/project64/SplashActivity.java index 7fe1ebaa4..38e9e2772 100644 --- a/Android/app/src/main/java/emu/project64/SplashActivity.java +++ b/Android/app/src/main/java/emu/project64/SplashActivity.java @@ -112,10 +112,11 @@ public class SplashActivity extends AppCompatActivity implements ExtractAssetZip { return; } - mInit = true; + mInit = false; String ConfigFile = AndroidDevice.PACKAGE_DIRECTORY + "/Config/Project64.cfg"; if((new File(ConfigFile)).exists()) { + mInit = true; InitProject64(); } diff --git a/Source/Android/Bridge/jniBridge.cpp b/Source/Android/Bridge/jniBridge.cpp index 03b1c5544..dc7fa9e91 100644 --- a/Source/Android/Bridge/jniBridge.cpp +++ b/Source/Android/Bridge/jniBridge.cpp @@ -219,7 +219,6 @@ EXPORT jboolean CALL Java_emu_project64_jni_NativeExports_appInit(JNIEnv * env, __android_log_print(ANDROID_LOG_INFO, "Project64", " /___/"); __android_log_print(ANDROID_LOG_INFO, "Project64", "https://www.pj64-emu.com/"); __android_log_print(ANDROID_LOG_INFO, "Project64", "%s", stdstr_f("%s Version %s", VER_FILE_DESCRIPTION_STR, VER_FILE_VERSION_STR).c_str()); - __android_log_print(ANDROID_LOG_INFO, "Project64", ""); if (g_Logger == NULL) { @@ -235,6 +234,7 @@ EXPORT jboolean CALL Java_emu_project64_jni_NativeExports_appInit(JNIEnv * env, const char * baseDir = env->GetStringUTFChars(BaseDir, 0); bool res = AppInit(&Notify(), baseDir, 0, NULL); + __android_log_print(ANDROID_LOG_INFO, "Project64", "baseDir: %s", baseDir); env->ReleaseStringUTFChars(BaseDir, baseDir); if (res) { @@ -251,6 +251,7 @@ EXPORT jboolean CALL Java_emu_project64_jni_NativeExports_appInit(JNIEnv * env, { AppCleanup(); } + __android_log_print(ANDROID_LOG_INFO, "Project64", ""); return res; }