1
0
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:
MushrooomSooop
2024-03-11 09:47:52 +00:00
committed by Crimson Hawk
parent bd5bdbe6c7
commit 9afd74abde
28 changed files with 277 additions and 0 deletions

View File

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