hdd: make speed preset configurable

This includes settings UI for Qt
This commit is contained in:
Adrien Moulin
2022-07-19 11:31:06 +02:00
parent efdf003272
commit 46f6540542
12 changed files with 206 additions and 63 deletions

View File

@@ -734,7 +734,7 @@ loadhd(ide_t *ide, int d, const char *fn)
return;
}
hdd_preset_auto(&hdd[d]);
hdd_preset_apply(d);
ide->spt = ide->cfg_spt = hdd[d].spt;
ide->hpc = ide->cfg_hpc = hdd[d].hpc;