Change copy method to clipboard

This commit is contained in:
sum2012 committed 2022-08-07 07:49:13 +08:00
1 parent 52234956eb
commit d26dcdcf6e
1 file changed
+6 -2
+6 -2
View File
@@ -91,11 +91,15 @@ 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());
tvMD5_->SetText(sy->T("Copied code"));
#endif
return UI::EVENT_DONE;
}