mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
Fixes
This commit is contained in:
parent
b3b07c8248
commit
8cfabf0ead
2 changed files with 6 additions and 7 deletions
|
|
@ -298,6 +298,11 @@ never_inline s32 savedata_op(PPUThread& ppu, u32 operation, u32 version, vm::cpt
|
|||
return CELL_SAVEDATA_ERROR_CBRESULT;
|
||||
}
|
||||
|
||||
if (!fixedSet->dirName)
|
||||
{
|
||||
return CELL_SAVEDATA_ERROR_PARAM;
|
||||
}
|
||||
|
||||
for (s32 i = 0; i < save_entries.size(); i++)
|
||||
{
|
||||
if (save_entries[i].dirName == fixedSet->dirName.get_ptr())
|
||||
|
|
@ -309,10 +314,7 @@ never_inline s32 savedata_op(PPUThread& ppu, u32 operation, u32 version, vm::cpt
|
|||
|
||||
if (selected == -1)
|
||||
{
|
||||
if (fixedSet->dirName)
|
||||
{
|
||||
save_entry.dirName = fixedSet->dirName.get_ptr();
|
||||
}
|
||||
save_entry.dirName = fixedSet->dirName.get_ptr();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue