From 2b582cc6aaecdbf1eee970830d8b1bfd554b2d91 Mon Sep 17 00:00:00 2001 From: sorgelig Date: Thu, 7 May 2020 21:50:18 +0800 Subject: [PATCH] pcecd: adjust seektime calc. --- support/pcecd/seektime.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/support/pcecd/seektime.cpp b/support/pcecd/seektime.cpp index afe7e4f..4d28344 100644 --- a/support/pcecd/seektime.cpp +++ b/support/pcecd/seektime.cpp @@ -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 {