This commit is contained in:
JosJuice 2026-05-08 10:57:19 +02:00 committed by GitHub
commit 165b15817e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -480,7 +480,6 @@ object NativeLibrary {
fun displayAlertMsg(
caption: String, text: String, yesNo: Boolean, isWarning: Boolean, nonBlocking: Boolean
): Boolean {
Log.error("[NativeLibrary] Alert: $text")
val emulationActivity = emulationActivityRef.get()
var result = false

View File

@ -202,6 +202,8 @@ std::unique_ptr<GBAHostInterface> Host_CreateGBAHost(std::weak_ptr<HW::GBA::Core
static bool MsgAlert(const char* caption, const char* text, bool yes_no, Common::MsgType style)
{
__android_log_print(ANDROID_LOG_ERROR, DOLPHIN_TAG, "[NativeLibrary] Alert: %s", text);
JNIEnv* env = IDCache::GetEnvForThread();
jstring j_caption = ToJString(env, caption);