mirror of https://github.com/PCSX2/pcsx2.git
wxgui:
* fixed console log position/size saving settings * Configure buttons in plugin selector work as they should now * fixed devel/release builds broken in the prev rev git-svn-id: http://pcsx2.googlecode.com/svn/branches/wxgui@1683 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
c73375366f
commit
f39c52f5d1
|
@ -393,7 +393,7 @@ void cdvdReadKey(u8 arg0, u16 arg1, u32 arg2, u8* key) {
|
|||
key[15] = 0x01;
|
||||
}
|
||||
|
||||
Console::WriteLn( "CDVD->KEY = %02X,%02X,%02X,%02X,%02X,%02X,%02X", params
|
||||
Console::WriteLn( "CDVD.KEY = %02X,%02X,%02X,%02X,%02X,%02X,%02X", params
|
||||
cdvd.Key[0],cdvd.Key[1],cdvd.Key[2],cdvd.Key[3],cdvd.Key[4],cdvd.Key[14],cdvd.Key[15] );
|
||||
|
||||
// Now's a good time to reload the ELF info...
|
||||
|
|
|
@ -68,14 +68,14 @@ static wxString pxGetStackTrace()
|
|||
return stackTrace;
|
||||
}
|
||||
|
||||
static __threadlocal bool _reentrant_lock = false;
|
||||
|
||||
#ifdef __WXDEBUG__
|
||||
wxString pxAppTraits::GetAssertStackTrace()
|
||||
{
|
||||
return pxGetStackTrace();
|
||||
}
|
||||
|
||||
static __threadlocal bool _reentrant_lock = false;
|
||||
|
||||
#ifdef __WXDEBUG__
|
||||
// This override of wx's implementation provides thread safe assertion message reporting. If we aren't
|
||||
// on the main gui thread then the assertion message box needs to be passed off to the main gui thread
|
||||
// via messages.
|
||||
|
|
|
@ -224,7 +224,7 @@ enum MenuIDs_t
|
|||
};
|
||||
|
||||
// ------------------------------------------------------------------------
|
||||
ConsoleLogFrame::ConsoleLogFrame( MainEmuFrame *parent, const wxString& title, const AppConfig::ConsoleLogOptions& options ) :
|
||||
ConsoleLogFrame::ConsoleLogFrame( MainEmuFrame *parent, const wxString& title, AppConfig::ConsoleLogOptions& options ) :
|
||||
wxFrame(parent, wxID_ANY, title)
|
||||
, m_conf( options )
|
||||
, m_TextCtrl( *new wxTextCtrl(this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize,
|
||||
|
|
|
@ -101,7 +101,7 @@ protected:
|
|||
};
|
||||
|
||||
protected:
|
||||
ConLogConfig m_conf;
|
||||
ConLogConfig& m_conf;
|
||||
wxTextCtrl& m_TextCtrl;
|
||||
ColorArray m_ColorTable;
|
||||
Console::Colors m_curcolor;
|
||||
|
@ -114,7 +114,7 @@ protected:
|
|||
|
||||
public:
|
||||
// ctor & dtor
|
||||
ConsoleLogFrame( MainEmuFrame *pParent, const wxString& szTitle, const ConLogConfig& options );
|
||||
ConsoleLogFrame( MainEmuFrame *pParent, const wxString& szTitle, ConLogConfig& options );
|
||||
virtual ~ConsoleLogFrame();
|
||||
|
||||
virtual void Write( const wxString& text );
|
||||
|
|
|
@ -316,7 +316,7 @@ bool Panels::PluginSelectorPanel::ValidateEnumerationStatus()
|
|||
// ------------------------------------------------------------------------
|
||||
void Panels::PluginSelectorPanel::OnConfigure_Clicked( wxCommandEvent& evt )
|
||||
{
|
||||
PluginsEnum_t pid = (PluginsEnum_t)(int)evt.GetClientData();
|
||||
PluginsEnum_t pid = (PluginsEnum_t)(int)((wxEvtHandler*)evt.GetEventObject())->GetClientData();
|
||||
|
||||
int sel = m_ComponentBoxes.Get(pid).GetSelection();
|
||||
if( sel == wxNOT_FOUND ) return;
|
||||
|
|
Loading…
Reference in New Issue