From 909dce4caf2756d792a26afd3e2e5025ad953f10 Mon Sep 17 00:00:00 2001 From: "j4ck.fr0st" Date: Sat, 30 Jan 2010 15:05:16 +0000 Subject: [PATCH] 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 --- Source/Core/DolphinWX/Src/FrameTools.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinWX/Src/FrameTools.cpp b/Source/Core/DolphinWX/Src/FrameTools.cpp index 231a7e9fbb..d266656e0d 100644 --- a/Source/Core/DolphinWX/Src/FrameTools.cpp +++ b/Source/Core/DolphinWX/Src/FrameTools.cpp @@ -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)