forked from cafeberry/cafeberry
chore(PSVita): restrict OldSdk to PSVita
This commit is contained in:
2 files changed
+5
-2
No files matched your search
@@ -1,5 +1,5 @@
|
|||||||
#include "OldSdk.h"
|
#include "OldSdk.h"
|
||||||
|
#ifdef __PSVITA__
|
||||||
|
|
||||||
int sceNpBasicGetFriendOnlineStatus(const SceNpId *friendId, SceNpBasicOnlineStatus *status) {
|
int sceNpBasicGetFriendOnlineStatus(const SceNpId *friendId, SceNpBasicOnlineStatus *status) {
|
||||||
if (status) *status = SCE_NP_BASIC_ONLINE_STATUS_UNKNOWN;
|
if (status) *status = SCE_NP_BASIC_ONLINE_STATUS_UNKNOWN;
|
||||||
@@ -48,4 +48,5 @@ int sceNpBasicGetRequestedFriendRequestEntries(unsigned int startIndex, SceNpId
|
|||||||
|
|
||||||
SceInt32 sceAppUtilAppEventParseNpBasicJoinablePresence(const SceAppUtilAppEventParam *eventParam, SceAppUtilNpBasicJoinablePresenceParam *param) {
|
SceInt32 sceAppUtilAppEventParseNpBasicJoinablePresence(const SceAppUtilAppEventParam *eventParam, SceAppUtilNpBasicJoinablePresenceParam *param) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
#ifdef __PSVITA__
|
||||||
#ifndef _OLD_SDK_H
|
#ifndef _OLD_SDK_H
|
||||||
#define _OLD_SDK_H 1
|
#define _OLD_SDK_H 1
|
||||||
|
|
||||||
@@ -50,4 +51,5 @@ SceInt32 sceAppUtilAppEventParseNpBasicJoinablePresence(const SceAppUtilAppEvent
|
|||||||
|
|
||||||
#define SCE_APPUTIL_APPEVENT_TYPE_NP_BASIC_JOINABLE_PRESENCE (3)
|
#define SCE_APPUTIL_APPEVENT_TYPE_NP_BASIC_JOINABLE_PRESENCE (3)
|
||||||
|
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
Reference in new issue
Block a user