mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
add error_code to cellOskDialog and cellMsgDialog
This commit is contained in:
parent
7cc4239cc2
commit
d5303b0b64
6 changed files with 96 additions and 50 deletions
|
|
@ -10,6 +10,26 @@
|
|||
|
||||
LOG_CHANNEL(cellSysutil);
|
||||
|
||||
template<>
|
||||
void fmt_class_string<CellSysutilError>::format(std::string& out, u64 arg)
|
||||
{
|
||||
format_enum(out, arg, [](auto error)
|
||||
{
|
||||
switch (error)
|
||||
{
|
||||
STR_CASE(CELL_SYSUTIL_ERROR_TYPE);
|
||||
STR_CASE(CELL_SYSUTIL_ERROR_VALUE);
|
||||
STR_CASE(CELL_SYSUTIL_ERROR_SIZE);
|
||||
STR_CASE(CELL_SYSUTIL_ERROR_NUM);
|
||||
STR_CASE(CELL_SYSUTIL_ERROR_BUSY);
|
||||
STR_CASE(CELL_SYSUTIL_ERROR_STATUS);
|
||||
STR_CASE(CELL_SYSUTIL_ERROR_MEMORY);
|
||||
}
|
||||
|
||||
return unknown;
|
||||
});
|
||||
}
|
||||
|
||||
struct sysutil_cb_manager
|
||||
{
|
||||
struct alignas(8) registered_cb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue