More UWP prep

This commit is contained in:
Henrik Rydgard committed 2017-02-25 09:57:22 +01:00
1 parent fa80cfa4aa
commit 03dab0fdbd
27 files changed
+210 -209

No files matched your search

+4
View File
@@ -430,11 +430,15 @@ UI::EventReturn GameBrowser::HomeClick(UI::EventParams &e) {
else
return UI::EVENT_DONE;
#elif defined(_WIN32)
#if PPSSPP_PLATFORM(UWP)
// TODO UWP
#else
I18NCategory *mm = GetI18NCategory("MainMenu");
std::string folder = W32Util::BrowseForFolder(MainWindow::GetHWND(), mm->T("Choose folder"));
if (!folder.size())
return UI::EVENT_DONE;
path_.SetPath(folder);
#endif
#else
path_.SetPath(getenv("HOME"));
#endif