Xbox 360 fixes (again...) (#29)

Merging main repo undid a lot of my changes so this PR reimplements them. Fixes build and playthrough. Has been tested.Reviewed-on: pieeebot/cafeberry#29

Co-authored-by: qloak <realminecart@gmail.com>
This commit is contained in:
2026-08-08 12:23:28 +00:00
committed by pieeebot
parent ebbd54288b
commit 125819419f
6 changed files with 368 additions and 135 deletions
@@ -100,6 +100,8 @@ typedef SceNetSocklen_t socklen_t;
class Socket;
#define NETWORK_LAN_PLAYER_NAME_SIZE 32
#pragma pack(push, 1)
struct LANBroadcast
{
@@ -113,7 +115,7 @@ struct LANBroadcast
DWORD texturePackParentId;
BYTE subTexturePackId;
BYTE isJoinable;
char playerNames[8][XUSER_NAME_SIZE];
char playerNames[8][NETWORK_LAN_PLAYER_NAME_SIZE];
};
#pragma pack(pop)
@@ -130,7 +132,7 @@ struct LANSession
unsigned char subTexturePackId;
bool isJoinable;
DWORD lastSeenTick;
char playerNames[8][XUSER_NAME_SIZE];
char playerNames[8][NETWORK_LAN_PLAYER_NAME_SIZE];
};
struct RemoteConnection