mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 21:32:50 +00:00
Add TaskAttribute2 initilization
This commit is contained in:
parent
51dd8cb5c3
commit
0aed6d8c19
@ -784,9 +784,26 @@ int cellSpursTaskAttributeSetExitCodeContainer()
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
int _cellSpursTaskAttribute2Initialize()
|
||||
int _cellSpursTaskAttribute2Initialize(mem_ptr_t<CellSpursTaskAttribute2> attribute, u32 revision)
|
||||
{
|
||||
UNIMPLEMENTED_FUNC(cellSpurs);
|
||||
cellSpurs->Warning("_cellSpursTaskAttribute2Initialize(attribute_addr=0x%x, revision=%d)", attribute.GetAddr(), revision);
|
||||
|
||||
attribute->revision = revision;
|
||||
attribute->sizeContext = 0;
|
||||
attribute->eaContext = NULL;
|
||||
|
||||
for (int c = 0; c < 4; c++)
|
||||
{
|
||||
attribute->lsPattern.u32[c] = 0;
|
||||
}
|
||||
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
attribute->lsPattern.u64[i] = 0;
|
||||
}
|
||||
|
||||
attribute->name_addr = 0;
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
@ -214,7 +214,7 @@ struct CellSpursTaskAttribute2
|
||||
be_t<u32> revision;
|
||||
be_t<u32> sizeContext;
|
||||
be_t<u64> eaContext;
|
||||
CellSpursTaskLsPattern lsPattern; //???
|
||||
CellSpursTaskLsPattern lsPattern;
|
||||
be_t<u32> name_addr;
|
||||
//be_t<u32> __reserved__[];
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user