mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 16:00:30 +02:00
CMake: Add IOS_APP_STORE build option, which will enable required restrictions.
This commit is contained in:
1 parent
830f3a5fe6
commit
45f094569a
3 files changed
+20
No files matched your search
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user