mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-16 02:59:49 +01:00
Change copy method to clipboard
This commit is contained in:
1 parent
52234956eb
commit
d26dcdcf6e
1 file changed
+6
-2
+6
-2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user