cellSaveData fixup
This commit is contained in:
@@ -333,7 +333,7 @@ static s32 savedata_check_args(u32 operation, u32 version, vm::cptr<char> dirNam
|
|||||||
return 6;
|
return 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (const auto& resv : setBuf->reserved)
|
for (auto resv : setBuf->reserved)
|
||||||
{
|
{
|
||||||
if (resv.raw() != 0)
|
if (resv.raw() != 0)
|
||||||
{
|
{
|
||||||
@@ -379,7 +379,7 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
|
|||||||
if (const auto ecode = savedata_check_args(operation, version, dirName, errDialog, setList, setBuf, funcList, funcFixed, funcStat,
|
if (const auto ecode = savedata_check_args(operation, version, dirName, errDialog, setList, setBuf, funcList, funcFixed, funcStat,
|
||||||
funcFile, container, unk_op_flags, userdata, userId, funcDone))
|
funcFile, container, unk_op_flags, userdata, userId, funcDone))
|
||||||
{
|
{
|
||||||
return {CELL_SAVEDATA_ERROR_PARAM, std::to_string(ecode).c_str()};
|
return {CELL_SAVEDATA_ERROR_PARAM, std::to_string(ecode)};
|
||||||
}
|
}
|
||||||
|
|
||||||
std::unique_lock lock(g_savedata_mutex, std::try_to_lock);
|
std::unique_lock lock(g_savedata_mutex, std::try_to_lock);
|
||||||
|
|||||||
Reference in New Issue
Block a user