More fixed and disabled the wait states selection on 386DX.
This commit is contained in:
@@ -2096,7 +2096,7 @@ const cpu_family_t cpu_families[] = {
|
||||
.cpu_flags = 0,
|
||||
.mem_read_cycles = 4,
|
||||
.mem_write_cycles = 4,
|
||||
.cache_read_cycles = 3,
|
||||
.cache_read_cycles = 2,
|
||||
.cache_write_cycles = 3,
|
||||
.atclk_div = 3
|
||||
},
|
||||
@@ -2113,8 +2113,8 @@ const cpu_family_t cpu_families[] = {
|
||||
.cpu_flags = 0,
|
||||
.mem_read_cycles = 6,
|
||||
.mem_write_cycles = 6,
|
||||
.cache_read_cycles = 3,
|
||||
.cache_write_cycles = 3,
|
||||
.cache_read_cycles = 2,
|
||||
.cache_write_cycles = 2,
|
||||
.atclk_div = 4
|
||||
},
|
||||
{
|
||||
@@ -2130,8 +2130,8 @@ const cpu_family_t cpu_families[] = {
|
||||
.cpu_flags = 0,
|
||||
.mem_read_cycles = 7,
|
||||
.mem_write_cycles = 7,
|
||||
.cache_read_cycles = 3,
|
||||
.cache_write_cycles = 3,
|
||||
.cache_read_cycles = 2,
|
||||
.cache_write_cycles = 2,
|
||||
.atclk_div = 5
|
||||
},
|
||||
{ .name = "", 0 }
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user