Added requirement for firmware upon game boot
This commit is contained in:
parent
bd5bdbe6c7
commit
9afd74abde
28 changed files with 277 additions and 0 deletions
|
|
@ -1766,6 +1766,13 @@ void GMainWindow::AllowOSSleep() {
|
|||
}
|
||||
|
||||
bool GMainWindow::LoadROM(const QString& filename, Service::AM::FrontendAppletParameters params) {
|
||||
if (!CheckFirmwarePresence()) {
|
||||
QMessageBox::critical(
|
||||
this, tr("Component Missing"),
|
||||
tr("Missing Firmware."));
|
||||
return false;
|
||||
}
|
||||
|
||||
// Shutdown previous session if the emu thread is still active...
|
||||
if (emu_thread != nullptr) {
|
||||
ShutdownGame();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue