pcecd: adjust seektime calc.
This commit is contained in:
@@ -97,19 +97,19 @@ float get_cd_seek_ms(int start_sector, int target_sector)
|
||||
}
|
||||
if (abs(target_sector - start_sector) < 5)
|
||||
{
|
||||
milliseconds = (9 * 1000 / 60) + (float)(sector_list[target_index].rotation_ms / 2);
|
||||
milliseconds = (9 * 1000 / 60) + (float)(sector_list[target_index].rotation_ms / 0.7);
|
||||
}
|
||||
else if (track_difference <= 80)
|
||||
{
|
||||
milliseconds = (16 * 1000 / 60) + (float)(sector_list[target_index].rotation_ms / 2);
|
||||
milliseconds = (16 * 1000 / 60) + (float)(sector_list[target_index].rotation_ms / 0.7);
|
||||
}
|
||||
else if (track_difference <= 160)
|
||||
{
|
||||
milliseconds = (22 * 1000 / 60) + (float)(sector_list[target_index].rotation_ms / 2);
|
||||
milliseconds = (22 * 1000 / 60) + (float)(sector_list[target_index].rotation_ms / 0.7);
|
||||
}
|
||||
else if (track_difference <= 644)
|
||||
{
|
||||
milliseconds = (22 * 1000 / 60) + (float)(sector_list[target_index].rotation_ms / 2) + (float)((track_difference - 161) * 16.66 / 80);
|
||||
milliseconds = (22 * 1000 / 60) + (float)(sector_list[target_index].rotation_ms / 0.7) + (float)((track_difference - 161) * 16.66 / 80);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user