Merge pull request #2526 from lioncash/global

core/telemetry_session: Remove usages of the global system accessor
This commit is contained in:
Zach Hilman
2019-06-05 15:57:48 -04:00
committed by GitHub
9 changed files with 98 additions and 75 deletions

View File

@ -847,11 +847,6 @@ 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::ErrorSystemMode:
LOG_CRITICAL(Frontend, "Failed to load ROM!");
QMessageBox::critical(this, tr("Error while loading ROM!"),
tr("Could not determine the system mode."));
break;
case Core::System::ResultStatus::ErrorVideoCore:
QMessageBox::critical(
this, tr("An error occurred initializing the video core."),