forked from cafeberry/cafeberry
add ps4 support
This commit is contained in:
36 files changed
+257
-123
No files matched your search
@@ -11,7 +11,7 @@
|
||||
|
||||
#define MULTITHREAD_ENABLE
|
||||
|
||||
#ifdef __PS3__
|
||||
#if defined(__PS3__) || defined(__ORBIS__)
|
||||
#define DISABLE_PSN
|
||||
#endif
|
||||
|
||||
@@ -35,10 +35,16 @@ const int MINECRAFT_NET_MAX_PLAYERS = 8;
|
||||
#include <np/np_npid.h>
|
||||
#include <user_service.h>
|
||||
#include "..\..\Minecraft.Client\Orbis\Orbis_PlayerUID.h"
|
||||
|
||||
#ifndef DISABLE_PSN
|
||||
#include "..\..\Minecraft.Client\Orbis\Network\SQRNetworkManager_Orbis.h"
|
||||
typedef SQRNetworkManager_Orbis::SessionID SessionID;
|
||||
typedef SQRNetworkManager_Orbis::PresenceSyncInfo INVITE_INFO;
|
||||
|
||||
#else
|
||||
typedef ULONGLONG GameSessionUID;
|
||||
typedef ULONGLONG SessionID;
|
||||
class INVITE_INFO;
|
||||
#endif // DISABLE_PSN
|
||||
#elif defined __PS3__ // defined in the profile lib
|
||||
#include <np.h>
|
||||
#include <sysutil/sysutil_userinfo.h>
|
||||
|
||||
Reference in new issue
Block a user