Changed OnLoadWiiMenu to walk the same path as starting a game from GameListCtrl.

This fixes some flickering and resizing stuff when using Render-to-main, where the GameListCtrl would not be hidden (and show over the rendering surface)

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4986 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
j4ck.fr0st 2010-01-30 15:05:16 +00:00
parent e282d5c7f2
commit 909dce4caf
1 changed files with 2 additions and 2 deletions

View File

@ -510,7 +510,7 @@ void CFrame::BootGame(const std::string& filename)
m_GameListCtrl->Enable();
m_GameListCtrl->Show();
return;
}
}
}
}
@ -874,7 +874,7 @@ void CFrame::OnShow_CheatsWindow(wxCommandEvent& WXUNUSED (event))
void CFrame::OnLoadWiiMenu(wxCommandEvent& WXUNUSED (event))
{
BootManager::BootCore(FULL_WII_MENU_DIR);
StartGame(FULL_WII_MENU_DIR);
}
void CFrame::OnConnectWiimote(wxCommandEvent& event)