cellMsgDialog functions improved

Callback can return result now
This commit is contained in:
Nekotekina 2014-07-04 02:52:43 +04:00
parent e29a1ddef7
commit abbbaa222b
9 changed files with 579 additions and 195 deletions

View file

@ -1,5 +1,16 @@
#pragma once
enum
{
CELL_SYSUTIL_ERROR_TYPE = 0x8002b101,
CELL_SYSUTIL_ERROR_VALUE = 0x8002b102,
CELL_SYSUTIL_ERROR_SIZE = 0x8002b103,
CELL_SYSUTIL_ERROR_NUM = 0x8002b104,
CELL_SYSUTIL_ERROR_BUSY = 0x8002b105,
CELL_SYSUTIL_ERROR_STATUS = 0x8002b106,
CELL_SYSUTIL_ERROR_MEMORY = 0x8002b107,
};
// Parameter IDs
enum
{
@ -103,17 +114,6 @@ enum
CELL_SYSUTIL_PAD_RUMBLE_ON = 1,
};
enum
{
CELL_MSGDIALOG_BUTTON_NONE = -1,
CELL_MSGDIALOG_BUTTON_INVALID = 0,
CELL_MSGDIALOG_BUTTON_OK = 1,
CELL_MSGDIALOG_BUTTON_YES = 1,
CELL_MSGDIALOG_BUTTON_NO = 2,
CELL_MSGDIALOG_BUTTON_ESCAPE = 3,
};
enum
{
CELL_SYSCACHE_RET_OK_CLEARED = 0,
@ -129,19 +129,6 @@ enum
CELL_SYSCACHE_ERROR_NOTMOUNTED = 0x8002bc04, // We don't really need to simulate the mounting, so this is probably useless
};
enum CellMsgDialogType
{
CELL_MSGDIALOG_DIALOG_TYPE_ERROR = 0x00000000,
CELL_MSGDIALOG_DIALOG_TYPE_NORMAL = 0x00000001,
CELL_MSGDIALOG_BUTTON_TYPE_NONE = 0x00000000,
CELL_MSGDIALOG_BUTTON_TYPE_YESNO = 0x00000010,
CELL_MSGDIALOG_DEFAULT_CURSOR_YES = 0x00000000,
CELL_MSGDIALOG_DEFAULT_CURSOR_NO = 0x00000100,
};
// cellSysutil: cellHddGame
enum
{