mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
Small fix to cellMsgDialogOpen2
This commit is contained in:
parent
f2e2786959
commit
23a5cd5cff
1 changed files with 3 additions and 3 deletions
|
@ -127,8 +127,8 @@ s32 cellMsgDialogOpen2(u32 type, vm::ptr<const char> msgString, vm::ptr<CellMsgD
|
||||||
{
|
{
|
||||||
switch (type & CELL_MSGDIALOG_TYPE_SE_TYPE)
|
switch (type & CELL_MSGDIALOG_TYPE_SE_TYPE)
|
||||||
{
|
{
|
||||||
case CELL_MSGDIALOG_TYPE_SE_TYPE_NORMAL: LOG_WARNING(TTY, "\n%s", msg.c_str()); break;
|
case CELL_MSGDIALOG_TYPE_SE_TYPE_NORMAL: LOG_WARNING(TTY, "%s\n", msg.c_str()); break;
|
||||||
case CELL_MSGDIALOG_TYPE_SE_TYPE_ERROR: LOG_ERROR(TTY, "\n%s", msg.c_str()); break;
|
case CELL_MSGDIALOG_TYPE_SE_TYPE_ERROR: LOG_ERROR(TTY, "%s\n", msg.c_str()); break;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (type & CELL_MSGDIALOG_TYPE_SE_MUTE) // TODO
|
switch (type & CELL_MSGDIALOG_TYPE_SE_MUTE) // TODO
|
||||||
|
@ -264,7 +264,7 @@ s32 cellMsgDialogOpenErrorCode(u32 errorCode, vm::ptr<CellMsgDialogCallback> cal
|
||||||
}
|
}
|
||||||
|
|
||||||
char errorCodeHex[12];
|
char errorCodeHex[12];
|
||||||
sprintf(errorCodeHex, "\n(%08x)", errorCode);
|
sprintf_s(errorCodeHex, "\n(%08x)", errorCode);
|
||||||
errorMessage.append(errorCodeHex);
|
errorMessage.append(errorCodeHex);
|
||||||
|
|
||||||
u64 status;
|
u64 status;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue