diff options
Diffstat (limited to 'Source/Core/DolphinWX/FrameTools.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/FrameTools.cpp | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/Source/Core/DolphinWX/FrameTools.cpp b/Source/Core/DolphinWX/FrameTools.cpp index 0ba143172f..7f538563b5 100644 --- a/Source/Core/DolphinWX/FrameTools.cpp +++ b/Source/Core/DolphinWX/FrameTools.cpp @@ -309,16 +309,8 @@ void CFrame::BootGame(const std::string& filename) } else { - if (!SConfig::GetInstance().m_LastFilename.empty() && - File::Exists(SConfig::GetInstance().m_LastFilename)) - { - bootfile = SConfig::GetInstance().m_LastFilename; - } - else - { - m_game_list_ctrl->BrowseForDirectory(); - return; - } + m_game_list_ctrl->BrowseForDirectory(); + return; } } if (!bootfile.empty()) @@ -1550,15 +1542,6 @@ void CFrame::UpdateGUI() GetMenuBar()->FindItem(IDM_RECORD)->Enable(); GetMenuBar()->FindItem(IDM_PLAY_RECORD)->Enable(); } - // Prepare to load last selected file, enable play button - else if (!SConfig::GetInstance().m_LastFilename.empty() && - File::Exists(SConfig::GetInstance().m_LastFilename)) - { - GetToolBar()->EnableTool(IDM_PLAY, true); - GetMenuBar()->FindItem(IDM_PLAY)->Enable(); - GetMenuBar()->FindItem(IDM_RECORD)->Enable(); - GetMenuBar()->FindItem(IDM_PLAY_RECORD)->Enable(); - } else { // No game has been selected yet, disable play button |
