mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Fixed Issue 1711 (a bug that prevents some games from booting)
Thanks to chuvit's help Added safety check for CFrame::Update git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4759 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -309,6 +309,8 @@ CFrame::CFrame(wxFrame* parent,
|
||||
#endif
|
||||
|
||||
{
|
||||
m_bControlsCreated = false;
|
||||
|
||||
if (ShowLogWindow) SConfig::GetInstance().m_InterfaceLogWindow = true;
|
||||
|
||||
// Give it a console early to show potential messages from this onward
|
||||
@ -461,6 +463,7 @@ CFrame::CFrame(wxFrame* parent,
|
||||
// ----------
|
||||
|
||||
// Update controls
|
||||
m_bControlsCreated = true;
|
||||
UpdateGUI();
|
||||
|
||||
//if we are ever going back to optional iso caching:
|
||||
@ -477,6 +480,8 @@ CFrame::CFrame(wxFrame* parent,
|
||||
// Destructor
|
||||
CFrame::~CFrame()
|
||||
{
|
||||
m_bControlsCreated = false;
|
||||
|
||||
cdio_free_device_list(drives);
|
||||
/* The statbar sample has this so I add this to, but I guess timer will be deleted after
|
||||
this anyway */
|
||||
|
Reference in New Issue
Block a user