GUI: Open the main window (if required) before the console window. Results: 1. Taskbar order is now better. 2. Console window gets minimized with the main window. Thanks to ShadowLady for the code.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4796 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
avihal@gmail.com 2011-07-06 00:59:52 +00:00
parent 03e0e3dea6
commit ab15e7d8b0
1 changed files with 2 additions and 1 deletions

View File

@ -466,9 +466,10 @@ bool Pcsx2App::OnInit()
// Start GUI and/or Direct Emulation
// -------------------------------------
if( Startup.ForceConsole ) g_Conf->ProgLogBox.Visible = true;
if( m_UseGUI ) OpenMainFrame();
OpenProgramLog();
AllocateCoreStuffs();
if( m_UseGUI ) OpenMainFrame();
(new GameDatabaseLoaderThread())->Start();