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:
sudonim1@gmail.com 2012-07-24 03:48:38 +00:00
parent 5f28d08286
commit 134ac6a160
2 changed files with 1 additions and 2 deletions

View File

@ -912,7 +912,6 @@ void Pcsx2App::OnGsFrameClosed( wxWindowID id )
if( (m_id_GsFrame == wxID_ANY) || (m_id_GsFrame != id) ) return;
CoreThread.Suspend();
m_id_GsFrame = wxID_ANY;
if( !m_UseGUI )
{

View File

@ -410,7 +410,7 @@ GSFrame::~GSFrame() throw()
void GSFrame::OnCloseWindow(wxCloseEvent& evt)
{
sApp.OnGsFrameClosed( GetId() );
evt.Skip(); // and close it.
Hide(); // and don't close it.
}
bool GSFrame::ShowFullScreen(bool show, long style)