mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Legacy build: Attempt to lower version requirements, also allow manually specifying the path
Should fix #20509 (not extensively tested)
This commit is contained in:
1 parent
9fb0bcca76
commit
3f77775306
4 files changed
+17
-6
No files matched your search
@@ -336,6 +336,9 @@ endif()
|
||||
|
||||
include_directories("${CMAKE_SOURCE_DIR}")
|
||||
|
||||
if(ANDROID_LEGACY)
|
||||
add_compile_definitions(ANDROID_LEGACY)
|
||||
endif()
|
||||
if(USING_EGL)
|
||||
add_compile_definitions(USING_EGL)
|
||||
endif()
|
||||
|
||||
+12
-6
@@ -144,11 +144,11 @@ static void AddExplanation(UI::ViewGroup *viewGroup, MemStickScreen::Choice choi
|
||||
#endif
|
||||
break;
|
||||
case MemStickScreen::CHOICE_SET_MANUAL:
|
||||
holder->Add(new TextView(iz->T("DataWillStay", "Data will stay even if you uninstall PPSSPP"), flags, false))->SetBullet(true);
|
||||
holder->Add(new TextView(iz->T("EasyUSBAccess", "Easy USB access"), flags, false))->SetBullet(true);
|
||||
break;
|
||||
default:
|
||||
holder->Add(new TextView(iz->T("EasyUSBAccess", "Easy USB access"), flags, false))->SetBullet(true);
|
||||
// What more?
|
||||
|
||||
// Should we have a special text here? It'll popup a text window for editing.
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -206,10 +206,16 @@ void MemStickScreen::CreateViews() {
|
||||
leftColumn->Add(new RadioButton(&choice_, CHOICE_BROWSE_FOLDER, ms->T("Create or Choose a PSP folder")))->OnClick.Handle(this, &MemStickScreen::OnChoiceClick);
|
||||
|
||||
// TODO: Show current folder here if we have one set.
|
||||
} else {
|
||||
}
|
||||
|
||||
#ifdef ANDROID_LEGACY
|
||||
constexpr bool legacy = true;
|
||||
#else
|
||||
constexpr bool legacy = false;
|
||||
#endif
|
||||
|
||||
if (!storageBrowserWorking_ || legacy) {
|
||||
leftColumn->Add(new RadioButton(&choice_, CHOICE_SET_MANUAL, ms->T("Manually specify PSP folder")))->OnClick.Handle(this, &MemStickScreen::OnChoiceClick);
|
||||
leftColumn->Add(new TextView(ms->T("DataWillStay", "Data will stay even if you uninstall PPSSPP.")))->SetBullet(true);
|
||||
leftColumn->Add(new TextView(ms->T("DataCanBeShared", "Data can be shared between PPSSPP regular/Gold.")))->SetBullet(true);
|
||||
// TODO: Show current folder here if we have one set.
|
||||
}
|
||||
errorNoticeView_ = leftColumn->Add(new NoticeView(NoticeLevel::WARN, ms->T("Cancelled - try again"), ""));
|
||||
|
||||
@@ -178,6 +178,7 @@ android {
|
||||
legacy {
|
||||
applicationId 'org.ppsspp.ppsspplegacy'
|
||||
dimension "variant"
|
||||
minSdkVersion 17 // To be compatible as far back as possible. This does cause build warnings.
|
||||
targetSdkVersion 29 // This is the point of legacy.
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
|
||||
@@ -2,3 +2,4 @@ org.gradle.jvmargs=-Xmx6G
|
||||
android.useAndroidX=true
|
||||
android.nonTransitiveRClass=true
|
||||
android.nonFinalResIds=true
|
||||
android.ndk.suppressMinSdkVersionError=21
|
||||
Reference in new issue
Block a user