mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-09 17:49:45 +00:00
cellSaveData: Add missing SDK version check for setParam->reserved2 check
This commit is contained in:
parent
ae5a4b697e
commit
450e2c9a0e
1 changed files with 7 additions and 4 deletions
|
@ -803,6 +803,8 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
|
||||||
return CELL_SAVEDATA_ERROR_PARAM;
|
return CELL_SAVEDATA_ERROR_PARAM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (g_ps3_sdk_version > 0x36FFFF)
|
||||||
|
{
|
||||||
for (u8 resv : statSet->setParam->reserved2)
|
for (u8 resv : statSet->setParam->reserved2)
|
||||||
{
|
{
|
||||||
if (resv)
|
if (resv)
|
||||||
|
@ -811,6 +813,7 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
|
||||||
return CELL_SAVEDATA_ERROR_PARAM;
|
return CELL_SAVEDATA_ERROR_PARAM;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
for (u8 resv : statSet->setParam->reserved)
|
for (u8 resv : statSet->setParam->reserved)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue