mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-05 16:20:22 +01:00
- Multiple header files where missing #includes to other headers that where used in the header. Correct header was included in correct order in source files which caused everything to compile. - Added missing #includes so header files correctly include all their dependencies and fixes problems with IDEs being unable to parse headers correctly due to missing symbols
52 lines
1,010 B
C
52 lines
1,010 B
C
#pragma once
|
|
|
|
#include "Utilities/BEType.h"
|
|
|
|
#include "cellRtc.h"
|
|
#include "sceNp.h"
|
|
|
|
// Constants for TUS functions and structures
|
|
enum
|
|
{
|
|
SCE_NP_TUS_DATA_INFO_MAX_SIZE = 384,
|
|
SCE_NP_TUS_MAX_CTX_NUM = 32,
|
|
SCE_NP_TUS_MAX_SLOT_NUM_PER_TRANS = 64,
|
|
SCE_NP_TUS_MAX_USER_NUM_PER_TRANS = 101,
|
|
};
|
|
|
|
SceNpOnlineId SceNpTusVirtualUserId;
|
|
|
|
// Structure for representing a TUS variable
|
|
struct SceNpTusVariable
|
|
{
|
|
SceNpId ownerId;
|
|
be_t<s32> hasData;
|
|
u8 pad[4];
|
|
CellRtcTick lastChangedDate;
|
|
SceNpId lastChangedAuthorId;
|
|
be_t<s64> variable;
|
|
be_t<s64> oldVariable;
|
|
u8 reserved[16];
|
|
};
|
|
|
|
// Structure for representing the accessory information of a TUS data
|
|
struct SceNpTusDataInfo
|
|
{
|
|
be_t<u32> infoSize;
|
|
u8 pad[4];
|
|
u8 data[SCE_NP_TUS_DATA_INFO_MAX_SIZE];
|
|
};
|
|
|
|
// Structure for respreseting the status of TUS data
|
|
struct SceNpTusDataStatus
|
|
{
|
|
SceNpId ownerId;
|
|
be_t<s32> hasData;
|
|
CellRtcTick lastChangedDate;
|
|
SceNpId lastChangedAuthorId;
|
|
be_t<u32> data;
|
|
be_t<u32> dataSize;
|
|
u8 pad[4];
|
|
SceNpTusDataInfo info;
|
|
};
|