first buildable orbis version. a bit ugly.
This commit is contained in:
@@ -204,11 +204,11 @@ HRESULT SonyLeaderboardManager::fillByIdsQuery(const SceNpId &myNpId, SceNpId* &
|
||||
case eFM_Friends:
|
||||
{
|
||||
// 4J-JEV: Implementation for Orbis & Vita as they a very similar.
|
||||
#if (defined __ORBIS__) || (defined __PSVITA__)
|
||||
|
||||
sce::Toolkit::NP::Utilities::Future<sce::Toolkit::NP::FriendsList> s_friendList;
|
||||
ret = getFriendsList(s_friendList);
|
||||
#if (defined __PSVITA__)
|
||||
|
||||
std::vector<sce::Toolkit::NP::FriendsList> s_friendList;
|
||||
//ret = getFriendsList(s_friendList);
|
||||
ret = 42069;
|
||||
if(ret != SCE_TOOLKIT_NP_SUCCESS)
|
||||
{
|
||||
// Error handling
|
||||
@@ -246,7 +246,11 @@ HRESULT SonyLeaderboardManager::fillByIdsQuery(const SceNpId &myNpId, SceNpId* &
|
||||
|
||||
npIds[0] = myNpId;
|
||||
}
|
||||
|
||||
#elif (defined __ORBIS__)
|
||||
// Error handling
|
||||
if (m_eStatsState != eStatsState_Canceled) m_eStatsState = eStatsState_Failed;
|
||||
app.DebugPrintf("[SonyLeaderboardManager] 'getFriendslist' fail, 0x%x.\n", ret);
|
||||
return false;
|
||||
#elif (defined __PS3__)
|
||||
// PS3
|
||||
|
||||
|
||||
Reference in New Issue
Block a user