mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
allow just ejecting the disc by canceling the file dialog
This commit is contained in:
parent
303d1b83eb
commit
60594c079d
@ -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
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user