mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
Improve error_code (new formatting constructor)
Minor cleanup in formatting utilities.
This commit is contained in:
parent
16620f6835
commit
1d0f6eebdc
5 changed files with 22 additions and 27 deletions
|
|
@ -574,7 +574,7 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
|
|||
if (const auto ecode = savedata_check_args(operation, version, dirName, errDialog, setList, setBuf, funcList, funcFixed, funcStat,
|
||||
funcFile, container, unk_op_flags, userdata, userId, funcDone))
|
||||
{
|
||||
return {CELL_SAVEDATA_ERROR_PARAM, std::to_string(ecode)};
|
||||
return {CELL_SAVEDATA_ERROR_PARAM, " (error %d)", ecode};
|
||||
}
|
||||
|
||||
std::unique_lock lock(g_fxo->get<savedata_manager>().mutex, std::try_to_lock);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue