cellMsgDialog code moved

This commit is contained in:
Nekotekina 2014-08-29 22:30:21 +04:00
parent 21e254d05f
commit 56ba26ab24
9 changed files with 263 additions and 158 deletions

View file

@ -1,4 +1,5 @@
#include "stdafx_gui.h"
#include "Emu/Memory/Memory.h"
#include "Emu/System.h"
#include "rpcs3.h"
#include "Ini.h"
@ -20,6 +21,9 @@
#include "Emu/Io/XInput/XInputPadHandler.h"
#endif
#include "Emu/SysCalls/Modules/cellMsgDialog.h"
#include "Gui/MsgDialog.h"
#include "Gui/GLGSFrame.h"
#include <wx/stdpaths.h>
@ -113,6 +117,11 @@ bool Rpcs3App::OnInit()
{
return new GLGSFrame();
});
SetMsgDialogCreateCallback(MsgDialogCreate);
SetMsgDialogDestroyCallback(MsgDialogDestroy);
SetMsgDialogProgressBarSetMsgCallback(MsgDialogProgressBarSetMsg);
SetMsgDialogProgressBarResetCallback(MsgDialogProgressBarReset);
SetMsgDialogProgressBarIncCallback(MsgDialogProgressBarInc);
TheApp = this;
SetAppName(_PRGNAME_);