mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 09:09:52 -06:00
allow just ejecting the disc by canceling the file dialog
This commit is contained in:
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user