mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
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.
This commit is contained in:
parent
c9b3d8aedf
commit
dc32ab134d
2 changed files with 4 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -468,7 +468,7 @@
|
|||
<ClInclude Include="UWPHelpers\StorageAsync.h" />
|
||||
<ClInclude Include="UWPHelpers\StorageManager.h" />
|
||||
<ClInclude Include="UWPHelpers\StoragePickers.h" />
|
||||
<ClInclude Include="UWPHelpers\LaunchItem.h" />
|
||||
<ClInclude Include="UWPHelpers\LaunchItem.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\git-version.cpp">
|
||||
|
@ -484,7 +484,7 @@
|
|||
<ClCompile Include="UWPHelpers\StorageAsync.cpp" />
|
||||
<ClCompile Include="UWPHelpers\StorageManager.cpp" />
|
||||
<ClCompile Include="UWPHelpers\StoragePickers.cpp" />
|
||||
<ClCompile Include="UWPHelpers\LaunchItem.cpp" />
|
||||
<ClCompile Include="UWPHelpers\LaunchItem.cpp" />
|
||||
<ClCompile Include="pch.cpp">
|
||||
<PrecompiledHeader>Create</PrecompiledHeader>
|
||||
</ClCompile>
|
||||
|
|
Loading…
Add table
Reference in a new issue