fixed vita startup crash by guarding commerce calls

This commit is contained in:
552eden committed 2026-08-05 00:39:26 +03:00
1 parent de8bf25fbe
commit 43878b9103
6 files changed
+9 -6

No files matched your search

@@ -56,7 +56,7 @@ void CPlatformNetworkManagerSony::HandleStateChange(SQRNetworkManager::eSQRNetwo
// 4J Stu - We may be accepting an invite from the DLC menu, so hide the icon
#ifdef __ORBIS__
sceNpCommerceHidePsStoreIcon();
#elif defined __PSVITA__
#elif defined(__PSVITA__) && !defined(DISABLE_PSN)
app.GetCommerce()->HidePsStoreIcon();
#endif
m_bLeavingGame = false;