More fixed and disabled the wait states selection on 386DX.

This commit is contained in:
OBattler
2025-09-02 16:45:01 +02:00
parent b825aed242
commit c5be7e9261
2 changed files with 6 additions and 6 deletions

View File

@@ -281,7 +281,7 @@ SettingsMachine::on_comboBoxSpeed_currentIndexChanged(int index)
int cpuId = ui->comboBoxSpeed->currentData().toInt();
uint cpuType = cpuFamily->cpus[cpuId].cpu_type;
if ((cpuType >= CPU_286) && (cpuType <= CPU_386DX)) {
if ((cpuType >= CPU_286) && (cpuType < CPU_386DX)) {
ui->comboBoxWaitStates->setEnabled(true);
ui->comboBoxWaitStates->setCurrentIndex(cpu_waitstates);
} else {