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

Method setEmuSpeed

gui/qt/settings.cpp:794–805  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

792}
793
794void MainWindow::setEmuSpeed(int value) {
795 m_config->setValue(SETTING_EMUSPEED, value);
796 ui->emulationSpeedSpin->blockSignals(true);
797 ui->emulationSpeedSpin->setValue(value);
798 ui->emulationSpeedSpin->blockSignals(false);
799 ui->emulationSpeed->setValue(value);
800 emu.setSpeed(value);
801 if (value == 0) {
802 m_timerEmuTriggered = true;
803 showEmuSpeed(0);
804 }
805}
806
807void MainWindow::keypadChanged() {
808 QString name = sender()->objectName();

Callers

nothing calls this directly

Calls 1

setSpeedMethod · 0.80

Tested by

no test coverage detected