From dc32ab134d0cd6ce815b9e16ecb12084034789e9 Mon Sep 17 00:00:00 2001 From: Bashar Astifan Date: Mon, 14 Aug 2023 09:27:51 +0400 Subject: [PATCH] Exclude root choice from memStickScreen (UWP) This was wrapped before with `#if PPSSPP_PLATFORM(ANDROID)` after it got removed now start to appear in UWP, this should fix it. --- UI/MemStickScreen.cpp | 3 ++- UWP/UWP.vcxproj | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/UI/MemStickScreen.cpp b/UI/MemStickScreen.cpp index fdefc9fe78..0df4d2cff2 100644 --- a/UI/MemStickScreen.cpp +++ b/UI/MemStickScreen.cpp @@ -245,13 +245,14 @@ void MemStickScreen::CreateViews() { // For legacy Android systems, so you can switch back to the old ways if you move to SD or something. // Trying to avoid needing a scroll view, so only showing the explanation for one option at a time. - +#if !PPSSPP_PLATFORM(UWP) if (!System_GetPropertyBool(SYSPROP_ANDROID_SCOPED_STORAGE)) { leftColumn->Add(new RadioButton(&choice_, CHOICE_STORAGE_ROOT, iz->T("Use PSP folder at root of storage")))->OnClick.Handle(this, &MemStickScreen::OnChoiceClick); if (choice_ == CHOICE_STORAGE_ROOT) { AddExplanation(leftColumn, (MemStickScreen::Choice)choice_); } } +#endif if (storageBrowserWorking_) { leftColumn->Add(new RadioButton(&choice_, CHOICE_BROWSE_FOLDER, iz->T("Create or Choose a PSP folder")))->OnClick.Handle(this, &MemStickScreen::OnChoiceClick); diff --git a/UWP/UWP.vcxproj b/UWP/UWP.vcxproj index 40ae2ad8cc..b2f1bb0f75 100644 --- a/UWP/UWP.vcxproj +++ b/UWP/UWP.vcxproj @@ -468,7 +468,7 @@ - + @@ -484,7 +484,7 @@ - + Create