forked from cafeberry/cafeberry
chore(PSVita): restrict OldSdk to PSVita
This commit is contained in:
2 files changed
+4
-1
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;
|
||||||
@@ -49,3 +49,4 @@ 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
|
||||||
|
|
||||||
@@ -51,3 +52,4 @@ 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