forked from cafeberry/cafeberry
fix: the cheeky fix for orbis
This commit is contained in:
@@ -44,12 +44,13 @@ bool SonyCommerce_Orbis::m_bLicenseChecked=false; // Check the trial/
|
||||
|
||||
|
||||
|
||||
#ifndef __ORBIS__ // sce::Toolkit::NP::Utilities::Future is not implemented in SDK 1.70
|
||||
#if 0 // sce::Toolkit::NP::Utilities::Future is not implemented in SDK 1.70
|
||||
sce::Toolkit::NP::Utilities::Future<std::vector<sce::Toolkit::NP::ProductInfo> > g_productList;
|
||||
sce::Toolkit::NP::Utilities::Future<sce::Toolkit::NP::CategoryInfo> g_categoryInfo;
|
||||
sce::Toolkit::NP::Utilities::Future<sce::Toolkit::NP::ProductInfoDetailed> g_detailedProductInfo;
|
||||
#endif
|
||||
|
||||
static bool s_showingPSStoreIcon = false;
|
||||
|
||||
SonyCommerce_Orbis::ProductInfoDetailed s_trialUpgradeProductInfoDetailed;
|
||||
void SonyCommerce_Orbis::Delete()
|
||||
@@ -1304,6 +1305,25 @@ void SonyCommerce_Orbis::DownloadAlreadyPurchased_Game( CallbackFunc cb, LPVOID
|
||||
LeaveCriticalSection(&m_queueLock);
|
||||
}
|
||||
|
||||
void SonyCommerce_Orbis::ShowPsStoreIcon()
|
||||
{
|
||||
if(!s_showingPSStoreIcon)
|
||||
{
|
||||
sceNpCommerceShowPsStoreIcon(SCE_NP_COMMERCE_PS_STORE_ICON_RIGHT);
|
||||
s_showingPSStoreIcon = true;
|
||||
}
|
||||
}
|
||||
|
||||
void SonyCommerce_Orbis::HidePsStoreIcon()
|
||||
{
|
||||
if(s_showingPSStoreIcon)
|
||||
{
|
||||
sceNpCommerceHidePsStoreIcon();
|
||||
s_showingPSStoreIcon = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
bool g_bDoCommerceCreateSession = false;
|
||||
|
||||
Reference in New Issue
Block a user