mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-30 12:32:43 +00:00
cellSaveData: Add null funcStat check
it's ordered specially for some functions
This commit is contained in:
parent
c11074a128
commit
655f7ce8a2
@ -1052,6 +1052,12 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
|
||||
|
||||
// Get save stats
|
||||
{
|
||||
if (!funcStat)
|
||||
{
|
||||
// ****** sysutil savedata parameter error : 20 ******
|
||||
return {CELL_SAVEDATA_ERROR_PARAM, "20"};
|
||||
}
|
||||
|
||||
fs::stat_t dir_info{};
|
||||
if (!fs::stat(dir_path, dir_info))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user