mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-08 01:00:11 +00:00
cellSaveData fixup
This commit is contained in:
parent
2494091353
commit
40fcd457bf
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue