MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / showAsicRevInfo

Method showAsicRevInfo

gui/qt/mainwindow.cpp:1581–1599  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1579}
1580
1581void MainWindow::showAsicRevInfo(const QList<int>& supportedRevs, int loadedRev, int defaultRev, bool python) {
1582 QString defaultRevStr = ui->comboBoxAsicRev->itemText(defaultRev);
1583 ui->comboBoxAsicRev->setItemText(0, tr("Auto (%0)").arg(defaultRevStr));
1584
1585 QString loadedRevStr = ui->comboBoxAsicRev->itemText(loadedRev);
1586 if (python) {
1587 loadedRevStr += " Python";
1588 }
1589 ui->currAsicRev->setText(tr("Current: %0 (change requires reset)").arg(loadedRevStr));
1590
1591 m_supportedRevs = supportedRevs;
1592 setAsicValidRevisions();
1593
1594 if (loadedRev != defaultRev || ui->comboBoxAsicRev->currentIndex() != 0) {
1595 ui->comboBoxAsicRev->setCurrentIndex(loadedRev);
1596 }
1597
1598 setCalcSkinTopFromType(python);
1599}
1600
1601void MainWindow::showEmuSpeed(double emuTime) {
1602 static double emuRunTime = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected