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…
Reference in New Issue