add ps4 support

This commit is contained in:
2026-08-02 22:06:27 +03:00
parent 94f1cefcf9
commit 92209cf909
36 changed files with 257 additions and 123 deletions
@@ -7,12 +7,10 @@
#include <stdint.h>
#include <winsockx.h>
#include <xtl.h>
#elif defined __PS3__
#elif defined __PS3__ || defined __ORBIS__
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netex/net.h>
#include <netex/errno.h>
#include <netinet/tcp.h>
#include <netinet/in.h>
#include <arpa/inet.h>
@@ -20,6 +18,11 @@
#include <sys/select.h>
#endif
#ifdef __PS3__
#include <netex/net.h>
#include <netex/errno.h>
#endif
#include <vector>
#include "..\..\Common\Network\NetworkPlayerInterface.h"
@@ -34,7 +37,7 @@
#define WIN64_LAN_DISCOVERY_PORT 25566
#define WIN64_LAN_BROADCAST_MAGIC 0x4D434C4E
#ifdef __PS3__
#if defined __PS3__ || defined __ORBIS__
typedef int SOCKET;
#define INVALID_SOCKET -1
#endif