core: Detect and return error if GBA virtual console is loaded. (#6257)

This commit is contained in:
Steveice10
2023-01-23 01:51:57 -08:00
committed by GitHub
parent d704c6a3ac
commit 84e54a52a6
6 changed files with 33 additions and 6 deletions

View File

@@ -1015,6 +1015,11 @@ bool GMainWindow::LoadROM(const QString& filename) {
"titles</a>."));
break;
case Core::System::ResultStatus::ErrorLoader_ErrorGbaTitle:
QMessageBox::critical(this, tr("Unsupported ROM"),
tr("GBA Virtual Console ROMs are not supported by Citra."));
break;
case Core::System::ResultStatus::ErrorVideoCore:
QMessageBox::critical(
this, tr("Video Core Error"),