Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 22e3075

Browse files
committedNov 20, 2021
cellSaveData: always log setList and setBuf
For debugging
1 parent 09ead53 commit 22e3075

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎rpcs3/Emu/Cell/Modules/cellSaveData.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,12 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
575575
u32 errDialog, PSetList setList, PSetBuf setBuf, PFuncList funcList, PFuncFixed funcFixed, PFuncStat funcStat,
576576
PFuncFile funcFile, u32 container, u32 unk_op_flags /*TODO*/, vm::ptr<void> userdata, u32 userId, PFuncDone funcDone)
577577
{
578+
if (const auto [ok, list] = setList.try_read(); ok)
579+
cellSaveData.notice("savedata_op(): setList = { .sortType=%d, .sortOrder=%d, .dirNamePrefix='%s' }", list.sortType, list.sortOrder, list.dirNamePrefix);
580+
581+
if (const auto [ok, buf] = setBuf.try_read(); ok)
582+
cellSaveData.notice("savedata_op(): setBuf = { .dirListMax=%d, .fileListMax=%d, .bufSize=%d }", buf.dirListMax, buf.fileListMax, buf.bufSize);
583+
578584
if (const auto ecode = savedata_check_args(operation, version, dirName, errDialog, setList, setBuf, funcList, funcFixed, funcStat,
579585
funcFile, container, unk_op_flags, userdata, userId, funcDone))
580586
{

0 commit comments

Comments
 (0)
Please sign in to comment.