core, main.h: Abort on 32Bit ROMs (#309)

* core, main.h: Abort on 32Bit ROMs

* main.cpp: Fix Grammar
This commit is contained in:
N00byKing
2018-04-06 17:06:32 +02:00
committed by bunnei
parent 68183e7b5a
commit 358050cfc6
5 changed files with 17 additions and 1 deletions

View File

@ -357,7 +357,12 @@ bool GMainWindow::LoadROM(const QString& filename) {
QMessageBox::critical(this, tr("Error while loading ROM!"),
tr("The ROM format is not supported."));
break;
case Core::System::ResultStatus::ErrorUnsupportedArch:
LOG_CRITICAL(Frontend, "Unsupported architecture detected!",
filename.toStdString().c_str());
QMessageBox::critical(this, tr("Error while loading ROM!"),
tr("The ROM uses currently unusable 32-bit architecture"));
break;
case Core::System::ResultStatus::ErrorSystemMode:
LOG_CRITICAL(Frontend, "Failed to load ROM!");
QMessageBox::critical(this, tr("Error while loading ROM!"),