mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
cellSaveData: Add null funcStat check
it's ordered specially for some functions
This commit is contained in:
parent
c11074a128
commit
655f7ce8a2
1 changed files with 6 additions and 0 deletions
|
@ -1052,6 +1052,12 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
|
||||||
|
|
||||||
// Get save stats
|
// Get save stats
|
||||||
{
|
{
|
||||||
|
if (!funcStat)
|
||||||
|
{
|
||||||
|
// ****** sysutil savedata parameter error : 20 ******
|
||||||
|
return {CELL_SAVEDATA_ERROR_PARAM, "20"};
|
||||||
|
}
|
||||||
|
|
||||||
fs::stat_t dir_info{};
|
fs::stat_t dir_info{};
|
||||||
if (!fs::stat(dir_path, dir_info))
|
if (!fs::stat(dir_path, dir_info))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue