summaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorN00byKing <N00byKing@users.noreply.github.com>2018-04-06 17:06:32 +0200
committerbunnei <bunneidev@gmail.com>2018-04-06 11:06:32 -0400
commit358050cfc6cb88b5bfd3997f1e3f1e135ae808e6 (patch)
tree08887b0c7c7db8277494f9b4b18b9e92b8259283 /src/yuzu/main.cpp
parent68183e7b5a8084e3fd2ec7b5f1e82576ffc20fe3 (diff)
core, main.h: Abort on 32Bit ROMs (#309)
* core, main.h: Abort on 32Bit ROMs * main.cpp: Fix Grammar
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 793d9d739..936a2759b 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -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!"),