Merge pull request #1003 from Nekotekina/master

Compilation fix
This commit is contained in:
B1ackDaemon 2015-02-11 15:37:21 +02:00
commit 982e536ad2

View File

@ -615,12 +615,12 @@ struct CellSpursEventFlag
be_t<u32> eventQueueId; // 0x7C
} m;
static_assert(sizeof(decltype(m)) == size, "Wrong _CellSpursEventFlag size");
SPURSManagerEventFlag *eventFlag;
};
};
static_assert(sizeof(CellSpursEventFlag) == CellSpursEventFlag::size, "Wrong CellSpursEventFlag size");
union CellSpursTaskArgument
{
be_t<u128> _u128;
@ -678,12 +678,12 @@ struct CellSpursTaskset
u8 unk3[0x60]; // 0x18A0
} m;
static_assert(sizeof(decltype(m)) == size, "Wrong _CellSpursTaskset size");
SPURSManagerTaskset *taskset;
};
};
static_assert(sizeof(CellSpursTaskset) == CellSpursTaskset::size, "Wrong CellSpursTaskset size");
struct CellSpursInfo
{
be_t<s32> nSpus;
@ -788,11 +788,11 @@ struct CellSpursTaskset2
be_t<u128> task_exit_code[128]; // 0x1980
u8 unk4[0x2900 - 0x2180]; // 0x2180
} m;
static_assert(sizeof(decltype(m)) == size, "Wrong _CellSpursTaskset2 size");
};
};
static_assert(sizeof(CellSpursTaskset2) == CellSpursTaskset2::size, "Wrong CellSpursTaskset2 size");
struct CellSpursTasksetAttribute
{
static const u32 align = 8;