Fixed cellSaveDataAutoLoad2

Probably that's closer to what a real PS3 does. Anyway, tests are
required to be sure about that.

Issue #304 fixed.
This commit is contained in:
Alexandro Sánchez Bach 2014-06-03 22:42:15 +02:00
parent 77f818fa23
commit 585ac5a748
1 changed files with 1 additions and 1 deletions

View File

@ -685,7 +685,7 @@ int cellSaveDataAutoLoad2(u32 version, u32 dirName_addr, u32 errDialog, mem_ptr_
// The target entry does not exist
if (saveEntries.size() == 0) {
ConLog.Warning("cellSaveDataAutoLoad2: Couldn't find save entry (%s)", dirName.c_str());
return CELL_SAVEDATA_ERROR_FAILURE;
return CELL_OK; // TODO: Can anyone check the actual behaviour of a PS3 when saves are not found?
}
getSaveDataStat(saveEntries[0], statGet.GetAddr()); // There should be only one element in this list