From c4fcb4f4e46cdd928ff76df877f836e639440400 Mon Sep 17 00:00:00 2001 From: sum2012 Date: Sun, 7 Aug 2022 20:22:01 +0800 Subject: [PATCH] clipboard don't work in android --- UI/GameScreen.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UI/GameScreen.cpp b/UI/GameScreen.cpp index c8f97060e8..ad0fe70a59 100644 --- a/UI/GameScreen.cpp +++ b/UI/GameScreen.cpp @@ -91,14 +91,14 @@ void GameScreen::update() { UI::EventReturn GameScreen::OnCopyBaidMD5(UI::EventParams& e) { #if PPSSPP_PLATFORM(WINDOWS) || defined(USING_QT_UI) || PPSSPP_PLATFORM(ANDROID) auto sy = GetI18NCategory("System"); - //System_InputBoxGetString(sy->T("Copy Baid md5"), MD5string, [](bool result, const std::string& value) { + System_InputBoxGetString(sy->T("Copy Baid md5"), MD5string, [](bool result, const std::string& value) { //if (result) { //g_Config.sNickName = StripSpaces(value); - // } + } //}); - System_SendMessage("setclipboardtext", MD5string.c_str()); + //System_SendMessage("setclipboardtext", MD5string.c_str()); don't work in android - tvMD5_->SetText(sy->T("Copied code")); + //tvMD5_->SetText(sy->T("Copied code")); #endif return UI::EVENT_DONE;