mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-08-30 16:06:30 -05:00
Added requirement for firmware upon game boot
This commit is contained in:

committed by
Crimson Hawk

parent
bd5bdbe6c7
commit
9afd74abde
@@ -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();
|
||||
|
Reference in New Issue
Block a user