cellSaveData: add some more info to log error

This commit is contained in:
Megamouse 2022-12-19 23:53:44 +01:00
parent 8ac9968096
commit f545532556

View File

@ -1830,7 +1830,7 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
if (file == all_files.cend() || file->second.size() <= fileSet->fileOffset) if (file == all_files.cend() || file->second.size() <= fileSet->fileOffset)
{ {
cellSaveData.error("Failed to open file %s%s", dir_path, file_path); cellSaveData.error("Failed to open file %s%s (size=%d, fileOffset=%d)", dir_path, file_path, file->second.size(), fileSet->fileOffset);
savedata_result = CELL_SAVEDATA_ERROR_FAILURE; savedata_result = CELL_SAVEDATA_ERROR_FAILURE;
break; break;
} }