mirror of https://github.com/RPCS3/rpcs3.git
cellSaveData: CELL_SAVEDATA_FOCUSPOS_NEWDATA
Untested, but focus position is clamped anyway.
This commit is contained in:
parent
539ac32806
commit
ff34a73fbd
|
@ -1045,8 +1045,14 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
|
||||||
return {CELL_SAVEDATA_ERROR_PARAM, "34"};
|
return {CELL_SAVEDATA_ERROR_PARAM, "34"};
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: If adding the new data to the save_entries vector
|
if (listSet->newData->iconPosition == CELL_SAVEDATA_ICONPOS_TAIL)
|
||||||
// to be displayed in the save mangaer UI, it should be focused here
|
{
|
||||||
|
focused = ::size32(save_entries);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
focused = 0;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
@ -1793,7 +1799,8 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
|
||||||
};
|
};
|
||||||
// clang-format on
|
// clang-format on
|
||||||
|
|
||||||
cellSaveData.warning("savedata_op(): Fileop: file=\"%s\", type=%d, op=%d", file_path, fileSet->fileType, fileSet->fileOperation);
|
cellSaveData.warning("savedata_op(): Fileop: file='%s', type=%d, op=%d, bufSize=%d, fileSize=%d, offset=%d",
|
||||||
|
file_path, fileSet->fileType, fileSet->fileOperation, fileSet->fileBufSize, fileSet->fileSize, fileSet->fileOffset);
|
||||||
|
|
||||||
if ((file_path == "." || file_path == "..") && fileSet->fileOperation <= CELL_SAVEDATA_FILEOP_WRITE_NOTRUNC)
|
if ((file_path == "." || file_path == "..") && fileSet->fileOperation <= CELL_SAVEDATA_FILEOP_WRITE_NOTRUNC)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue