This commit is contained in:
Nekotekina 2015-10-20 18:55:34 +03:00
parent b3b07c8248
commit 8cfabf0ead
2 changed files with 6 additions and 7 deletions

View file

@ -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();
}
}

View file

@ -587,9 +587,6 @@
<ClInclude Include="stdafx_gui.h" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="D3D12GSRender.vcxproj">
<Project>{fac9b17b-f4b8-4b75-8aeb-c8c7cb92b078}</Project>
</ProjectReference>
<ProjectReference Include="emucore.vcxproj">
<Project>{c4a10229-4712-4bd2-b63e-50d93c67a038}</Project>
</ProjectReference>