mirror of https://github.com/PCSX2/pcsx2.git
GUI: Closing the GS window didn't update the structure telling plugins about the window. Decided that just hiding the window has less race potential.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5347 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
5f28d08286
commit
134ac6a160
|
@ -912,7 +912,6 @@ void Pcsx2App::OnGsFrameClosed( wxWindowID id )
|
||||||
if( (m_id_GsFrame == wxID_ANY) || (m_id_GsFrame != id) ) return;
|
if( (m_id_GsFrame == wxID_ANY) || (m_id_GsFrame != id) ) return;
|
||||||
|
|
||||||
CoreThread.Suspend();
|
CoreThread.Suspend();
|
||||||
m_id_GsFrame = wxID_ANY;
|
|
||||||
|
|
||||||
if( !m_UseGUI )
|
if( !m_UseGUI )
|
||||||
{
|
{
|
||||||
|
|
|
@ -410,7 +410,7 @@ GSFrame::~GSFrame() throw()
|
||||||
void GSFrame::OnCloseWindow(wxCloseEvent& evt)
|
void GSFrame::OnCloseWindow(wxCloseEvent& evt)
|
||||||
{
|
{
|
||||||
sApp.OnGsFrameClosed( GetId() );
|
sApp.OnGsFrameClosed( GetId() );
|
||||||
evt.Skip(); // and close it.
|
Hide(); // and don't close it.
|
||||||
}
|
}
|
||||||
|
|
||||||
bool GSFrame::ShowFullScreen(bool show, long style)
|
bool GSFrame::ShowFullScreen(bool show, long style)
|
||||||
|
|
Loading…
Reference in New Issue