From 585ac5a748588204c5790ed8d1bb44b86b319308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandro=20S=C3=A1nchez=20Bach?= Date: Tue, 3 Jun 2014 22:42:15 +0200 Subject: [PATCH] Fixed cellSaveDataAutoLoad2 Probably that's closer to what a real PS3 does. Anyway, tests are required to be sure about that. Issue #304 fixed. --- rpcs3/Emu/SysCalls/Modules/cellSysutil_SaveData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/SysCalls/Modules/cellSysutil_SaveData.cpp b/rpcs3/Emu/SysCalls/Modules/cellSysutil_SaveData.cpp index d64c907123..aeb8b8f2fc 100644 --- a/rpcs3/Emu/SysCalls/Modules/cellSysutil_SaveData.cpp +++ b/rpcs3/Emu/SysCalls/Modules/cellSysutil_SaveData.cpp @@ -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