Qt: Remove booting from the last path

This commit is contained in:
Starsam80 2017-06-04 14:43:41 -06:00
commit e1ea6805a7
No known key found for this signature in database
GPG key ID: 4E48BB48BA7E9026
3 changed files with 1 additions and 18 deletions

View file

@ -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();