mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
clipboard don't work in android
This commit is contained in:
1 parent
fc8a46f718
commit
c4fcb4f4e4
1 file changed
+4
-4
+4
-4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user