mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 11:45:18 +02:00
Windows: Always detach request threads.
No point having a global if it's always detached after use.
This commit is contained in:
+1
-2
@@ -541,8 +541,7 @@ UI::EventReturn GameBrowser::LastClick(UI::EventParams &e) {
|
||||
|
||||
UI::EventReturn GameBrowser::BrowseClick(UI::EventParams &e) {
|
||||
auto mm = GetI18NCategory("MainMenu");
|
||||
System_BrowseForFolder(mm->T("Choose folder"), [this](const std::string &value, int) {
|
||||
std::string filename = value;
|
||||
System_BrowseForFolder(mm->T("Choose folder"), [this](const std::string &filename, int) {
|
||||
this->SetPath(Path(filename));
|
||||
});
|
||||
return UI::EVENT_DONE;
|
||||
|
||||
Reference in New Issue
Block a user