mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-06 00:59:18 +00:00
Merge pull request #1265 from tambry/savedatafix
Fix a save data access violation
This commit is contained in:
commit
b3b07c8248
@ -308,10 +308,13 @@ never_inline s32 savedata_op(PPUThread& ppu, u32 operation, u32 version, vm::cpt
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (selected == -1)
|
if (selected == -1)
|
||||||
|
{
|
||||||
|
if (fixedSet->dirName)
|
||||||
{
|
{
|
||||||
save_entry.dirName = fixedSet->dirName.get_ptr();
|
save_entry.dirName = fixedSet->dirName.get_ptr();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (selected >= 0)
|
if (selected >= 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user