diff options
| author | LPFaint99 <lpfaint99@gmail.com> | 2011-08-21 18:27:48 -0700 |
|---|---|---|
| committer | LPFaint99 <lpfaint99@gmail.com> | 2012-02-01 00:03:49 -0800 |
| commit | 60594c079d2412e928aff6308cfce34cd6bec07d (patch) | |
| tree | 1419718b5a41b0ba97aecf2d5a1cbd46f1addff2 /Source/Core | |
| parent | 303d1b83eb09472a3f9a635d8c3b794a6c9b0286 (diff) | |
allow just ejecting the disc by canceling the file dialog
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinWX/Src/FrameTools.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/Src/FrameTools.cpp b/Source/Core/DolphinWX/Src/FrameTools.cpp index 2ca28ce4dd..607c920906 100644 --- a/Source/Core/DolphinWX/Src/FrameTools.cpp +++ b/Source/Core/DolphinWX/Src/FrameTools.cpp @@ -678,11 +678,8 @@ void CFrame::DoOpen(bool Boot) File::SetCurrentDir(currentDir); } - if (path.IsEmpty()) - return; - // Should we boot a new game or just change the disc? - if (Boot) + if (Boot && !path.IsEmpty()) BootGame(std::string(path.mb_str())); else { |
