mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Make sure the game list gets created with automatic starts.
When rendering to the main window, the wxGLCanvas should really be owned by the DolphinWX code for it to be safely freed. Hack around the problem by just hiding the canvas for now. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6890 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -96,7 +96,6 @@ bool DolphinApp::OnInit()
|
||||
|
||||
// Declarations and definitions
|
||||
bool UseDebugger = false;
|
||||
bool BatchMode = false;
|
||||
bool UseLogger = false;
|
||||
bool selectVideoPlugin = false;
|
||||
bool selectAudioPlugin = false;
|
||||
@ -350,6 +349,9 @@ void DolphinApp::AfterInit(wxTimerEvent& WXUNUSED(event))
|
||||
delete m_afterinit;
|
||||
m_afterinit = NULL;
|
||||
|
||||
if (!BatchMode)
|
||||
main_frame->UpdateGameList();
|
||||
|
||||
// First check if we have an exec command line.
|
||||
if (LoadFile && FileToLoad != wxEmptyString)
|
||||
{
|
||||
@ -375,9 +377,6 @@ void DolphinApp::AfterInit(wxTimerEvent& WXUNUSED(event))
|
||||
}
|
||||
}
|
||||
}
|
||||
// No automatic start was requested; let the user make a selection.
|
||||
else
|
||||
main_frame->UpdateGameList();
|
||||
}
|
||||
|
||||
void DolphinApp::InitLanguageSupport()
|
||||
|
Reference in New Issue
Block a user