Minor sceNpManagerGetStatus improvements

Might allow a couple games to go in-game. Also a couple other minor fixes.
This commit is contained in:
Raul Tambre 2015-08-02 12:50:02 +03:00
parent 480996b140
commit 48def8fa5b
2 changed files with 12 additions and 11 deletions

View file

@ -3,6 +3,7 @@
#include "Emu/System.h" #include "Emu/System.h"
#include "Emu/SysCalls/Modules.h" #include "Emu/SysCalls/Modules.h"
#include "Emu/SysCalls/lv2/sys_process.h" #include "Emu/SysCalls/lv2/sys_process.h"
#include "rpcs3/Ini.h"
#include "Emu/FS/VFS.h" #include "Emu/FS/VFS.h"
#include "Utilities/File.h" #include "Utilities/File.h"

View file

@ -607,7 +607,7 @@ struct SceNpMatching2World
be_t<u32> curNumOfTotalLobbyMember; be_t<u32> curNumOfTotalLobbyMember;
be_t<u32> curNumOfRoom; be_t<u32> curNumOfRoom;
be_t<u32> curNumOfTotalRoomMember; be_t<u32> curNumOfTotalRoomMember;
bool withEntitlementId; b8 withEntitlementId;
SceNpEntitlementId entitlementId; SceNpEntitlementId entitlementId;
u8 padding[3]; u8 padding[3];
}; };
@ -710,9 +710,9 @@ struct SceNpMatching2GroupLabel
struct SceNpMatching2RoomGroupConfig struct SceNpMatching2RoomGroupConfig
{ {
be_t<u32> slotNum; be_t<u32> slotNum;
bool withLabel; b8 withLabel;
SceNpMatching2GroupLabel label; SceNpMatching2GroupLabel label;
bool withPassword; b8 withPassword;
u8 padding[2]; u8 padding[2];
}; };
@ -720,7 +720,7 @@ struct SceNpMatching2RoomGroupConfig
struct SceNpMatching2RoomGroupPasswordConfig struct SceNpMatching2RoomGroupPasswordConfig
{ {
SceNpMatching2RoomGroupId groupId; SceNpMatching2RoomGroupId groupId;
bool withPassword; b8 withPassword;
u8 padding[1]; u8 padding[1];
}; };
@ -728,8 +728,8 @@ struct SceNpMatching2RoomGroupPasswordConfig
struct SceNpMatching2RoomGroup struct SceNpMatching2RoomGroup
{ {
SceNpMatching2RoomGroupId groupId; SceNpMatching2RoomGroupId groupId;
bool withPassword; b8 withPassword;
bool withLabel; b8 withLabel;
u8 padding[1]; u8 padding[1];
SceNpMatching2GroupLabel label; SceNpMatching2GroupLabel label;
be_t<u32> slotNum; be_t<u32> slotNum;
@ -1131,7 +1131,7 @@ struct SceNpMatching2SendRoomChatMessageRequest
// Room chat message send request response data // Room chat message send request response data
struct SceNpMatching2SendRoomChatMessageResponse struct SceNpMatching2SendRoomChatMessageResponse
{ {
bool filtered; b8 filtered;
}; };
// Internal room data configuration request parameters // Internal room data configuration request parameters
@ -1257,7 +1257,7 @@ struct SceNpMatching2SendLobbyChatMessageRequest
// Lobby chat message sending response data // Lobby chat message sending response data
struct SceNpMatching2SendLobbyChatMessageResponse struct SceNpMatching2SendLobbyChatMessageResponse
{ {
bool filtered; b8 filtered;
}; };
// Lobby invitation message sending request parameter // Lobby invitation message sending request parameter
@ -1310,7 +1310,7 @@ struct SceNpMatching2GetLobbyMemberDataInternalListRequest
be_t<u32> memberIdNum; be_t<u32> memberIdNum;
vm::bcptr<SceNpMatching2AttributeId> attrId; vm::bcptr<SceNpMatching2AttributeId> attrId;
be_t<u32> attrIdNum; be_t<u32> attrIdNum;
bool extendedData; b8 extendedData;
u8 padding[7]; u8 padding[7];
}; };
@ -1404,7 +1404,7 @@ struct SceNpMatching2RoomMemberDataInternalUpdateInfo
// Room message information // Room message information
struct SceNpMatching2RoomMessageInfo struct SceNpMatching2RoomMessageInfo
{ {
bool filtered; b8 filtered;
SceNpMatching2CastType castType; SceNpMatching2CastType castType;
u8 padding[2]; u8 padding[2];
vm::ptr<SceNpMatching2RoomMessageDestination> dst; vm::ptr<SceNpMatching2RoomMessageDestination> dst;
@ -1447,7 +1447,7 @@ struct SceNpMatching2LobbyMemberDataInternalUpdateInfo
// Lobby message information // Lobby message information
struct SceNpMatching2LobbyMessageInfo struct SceNpMatching2LobbyMessageInfo
{ {
bool filtered; b8 filtered;
SceNpMatching2CastType castType; SceNpMatching2CastType castType;
u8 padding[2]; u8 padding[2];
vm::ptr<SceNpMatching2LobbyMessageDestination> dst; vm::ptr<SceNpMatching2LobbyMessageDestination> dst;