mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
cellSysutil crap split, cleanup, functions added
This commit is contained in:
parent
0b1e45b6b5
commit
8fcaac5f1d
24 changed files with 1356 additions and 820 deletions
|
|
@ -23,6 +23,11 @@ void MsgDialogInstance::Close()
|
|||
wait_until = get_system_time();
|
||||
}
|
||||
|
||||
s32 cellMsgDialogOpen()
|
||||
{
|
||||
throw EXCEPTION("");
|
||||
}
|
||||
|
||||
s32 cellMsgDialogOpen2(u32 type, vm::cptr<char> msgString, vm::ptr<CellMsgDialogCallback> callback, vm::ptr<void> userData, vm::ptr<void> extParam)
|
||||
{
|
||||
cellSysutil.Warning("cellMsgDialogOpen2(type=0x%x, msgString=*0x%x, callback=*0x%x, userData=*0x%x, extParam=*0x%x)", type, msgString, callback, userData, extParam);
|
||||
|
|
@ -256,6 +261,11 @@ s32 cellMsgDialogOpenErrorCode(PPUThread& CPU, u32 errorCode, vm::ptr<CellMsgDia
|
|||
return cellMsgDialogOpen2(CELL_MSGDIALOG_DIALOG_TYPE_ERROR | CELL_MSGDIALOG_TYPE_BUTTON_TYPE_OK, message, callback, userData, extParam);
|
||||
}
|
||||
|
||||
s32 cellMsgDialogOpenSimulViewWarning()
|
||||
{
|
||||
throw EXCEPTION("");
|
||||
}
|
||||
|
||||
s32 cellMsgDialogClose(float delay)
|
||||
{
|
||||
cellSysutil.Warning("cellMsgDialogClose(delay=%f)", delay);
|
||||
|
|
@ -363,8 +373,10 @@ void cellSysutil_MsgDialog_init()
|
|||
{
|
||||
g_msg_dialog->state = msgDialogNone;
|
||||
|
||||
REG_FUNC(cellSysutil, cellMsgDialogOpen);
|
||||
REG_FUNC(cellSysutil, cellMsgDialogOpen2);
|
||||
REG_FUNC(cellSysutil, cellMsgDialogOpenErrorCode);
|
||||
REG_FUNC(cellSysutil, cellMsgDialogOpenSimulViewWarning);
|
||||
REG_FUNC(cellSysutil, cellMsgDialogProgressBarSetMsg);
|
||||
REG_FUNC(cellSysutil, cellMsgDialogProgressBarReset);
|
||||
REG_FUNC(cellSysutil, cellMsgDialogProgressBarInc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue