Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
Typo..
  • Loading branch information
RusJJ authored Dec 29, 2023
1 parent a65e65d commit 7f51822
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ JNIEXPORT jint JNI_OnLoad(JavaVM *vm, void *reserved)
/* Catch another fish! */
if(cfg->GetBool("PrintLogsToFile", false)) HookALog();
bAndroidLog_OnlyImportant = !cfg->GetBool("PrintLogsToFile_Verbose", false);
bAndroidLog_NoAfter = cfg->GetBool("rintLogsToFile_NoLogCat", false);
bAndroidLog_NoAfter = cfg->GetBool("PrintLogsToFile_NoLogCat", false);

/* Mods? */
logger->Info("Working with mods...");
Expand Down Expand Up @@ -422,7 +422,7 @@ JNIEXPORT jint JNI_OnLoad(JavaVM *vm, void *reserved)
logger->Info("Mods were launched!");
}

/* Fake crash for crash handler testing */
/* Fake crash for crash handler testing (does not work?) */
if(g_bCrashAML) __builtin_trap();

/* Return the value it needs */
Expand All @@ -434,4 +434,4 @@ JNIEXPORT void JNI_OnUnload(JavaVM* vm, void* reserved)
/* Not sure if it'll work... */
/* It worked once, lol */
//modlist->ProcessUnloading();
}
}

0 comments on commit 7f51822

Please sign in to comment.