From 358050cfc6cb88b5bfd3997f1e3f1e135ae808e6 Mon Sep 17 00:00:00 2001 From: N00byKing Date: Fri, 6 Apr 2018 17:06:32 +0200 Subject: core, main.h: Abort on 32Bit ROMs (#309) * core, main.h: Abort on 32Bit ROMs * main.cpp: Fix Grammar --- src/yuzu/main.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/yuzu/main.cpp') 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!"), -- cgit v1.2.3