- Improved sc function binder.

- Improved GLGSRender.
This commit is contained in:
DH 2013-06-30 11:46:29 +03:00
parent 3bb7a299ca
commit 5753edf6ef
133 changed files with 13624 additions and 3898 deletions

View file

@ -3,6 +3,9 @@
#include "Ini.h"
#include "Emu/System.h"
#include <wx/msw/wrapwin.h>
#include "Gui/CompilerELF.h"
const wxEventType wxEVT_DBG_COMMAND = wxNewEventType();
IMPLEMENT_APP(Rpcs3App)
Rpcs3App* TheApp;
@ -15,13 +18,20 @@ bool Rpcs3App::OnInit()
Ini.Load();
ConLogFrame = new LogFrame();
ConLogFrame->Show();
m_MainFrame = new MainFrame();
SetTopWindow(m_MainFrame);
Emu.Init();
(new CompilerELF(m_MainFrame))->Show();
m_debugger_frame = new DebuggerPanel(m_MainFrame);
ConLogFrame = new LogFrame(m_MainFrame);
m_MainFrame->AddPane(ConLogFrame, "Log", wxAUI_DOCK_BOTTOM);
m_MainFrame->AddPane(m_debugger_frame, "Debugger", wxAUI_DOCK_RIGHT);
//ConLogFrame->Show();
m_MainFrame->Show();
m_MainFrame->DoSettings(true);
return true;
}
@ -35,6 +45,13 @@ void Rpcs3App::Exit()
wxApp::Exit();
}
void Rpcs3App::SendDbgCommand(DbgCommand id, PPCThread* thr)
{
wxCommandEvent event(wxEVT_DBG_COMMAND, id);
event.SetClientData(thr);
AddPendingEvent(event);
}
/*
CPUThread& GetCPU(const u8 core)
{