CMake: Add IOS_APP_STORE build option, which will enable required restrictions.

This commit is contained in:
Henrik Rydgård committed 2024-05-20 10:04:11 +02:00
1 parent 830f3a5fe6
commit 45f094569a
3 files changed
+20

No files matched your search

+2
View File
@@ -1269,11 +1269,13 @@ void MainScreen::CreateViews() {
if (!vertical) {
rightColumnChoices->Add(new Choice(mm->T("www.ppsspp.org")))->OnClick.Handle(this, &MainScreen::OnPPSSPPOrg);
#if !PPSSPP_PLATFORM(IOS_APP_STORE)
if (!System_GetPropertyBool(SYSPROP_APP_GOLD) && (System_GetPropertyInt(SYSPROP_DEVICE_TYPE) != DEVICE_TYPE_VR)) {
Choice *gold = rightColumnChoices->Add(new Choice(mm->T("Buy PPSSPP Gold")));
gold->OnClick.Handle(this, &MainScreen::OnSupport);
gold->SetIcon(ImageID("I_ICONGOLD"), 0.5f);
}
#endif
}
rightColumnChoices->Add(new Spacer(25.0));