allow just ejecting the disc by canceling the file dialog

This commit is contained in:
LPFaint99 2011-08-21 18:27:48 -07:00
parent 303d1b83eb
commit 60594c079d

View file

@ -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
{