mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Qt: Remove booting from the last path
This commit is contained in:
parent
407463f0fe
commit
e1ea6805a7
3 changed files with 1 additions and 18 deletions
|
@ -213,11 +213,7 @@ void MainWindow::Play()
|
|||
}
|
||||
else
|
||||
{
|
||||
QString last_path = Settings().GetLastGame();
|
||||
if (!last_path.isEmpty() && QFile::exists(last_path))
|
||||
StartGame(last_path);
|
||||
else
|
||||
Open();
|
||||
Open();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -304,7 +300,6 @@ void MainWindow::StartGame(const QString& path)
|
|||
QMessageBox::critical(this, tr("Error"), tr("Failed to init core"), QMessageBox::Ok);
|
||||
return;
|
||||
}
|
||||
Settings().SetLastGame(path);
|
||||
ShowRenderWidget();
|
||||
emit EmulationStarted();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue