| 1579 | } |
| 1580 | |
| 1581 | void 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 | |
| 1601 | void MainWindow::showEmuSpeed(double emuTime) { |
| 1602 | static double emuRunTime = 0; |
nothing calls this directly
no outgoing calls
no test coverage detected