PC Engine CDROM timing corrections (#412)
1) Fix for Issue 120 broke timing for cut-scene videos. Restoring delay for SAPSP-type seeks (issue #145) 2) fixes for issues #120 & #145: a) PAUSE placed head just outside of minimum-seektime area -> when playback was restored, it was late, contributing to hangs (i.e. Bomberman Panic Bomber). Increase minimum seektime region, so as to include this case. b) Moved logging printf to AFTER SendStatus on SAPEP transactions; may help reduce hangs (i.e. Bomberman Panic Bomber). 3) Minor adjustment to improve timing on Sherlock Holmes games' video playback.
This commit is contained in:
@@ -91,11 +91,11 @@ float get_cd_seek_ms(int start_sector, int target_sector)
|
||||
}
|
||||
|
||||
// Now, we use the algorithm to determine how long to wait
|
||||
if (abs(target_sector - start_sector) < 2)
|
||||
if (abs(target_sector - start_sector) <= 3)
|
||||
{
|
||||
milliseconds = (2 * 1000 / 60);
|
||||
}
|
||||
else if (abs(target_sector - start_sector) < 5)
|
||||
else if (abs(target_sector - start_sector) < 7)
|
||||
{
|
||||
milliseconds = (9 * 1000 / 60) + (float)(sector_list[target_index].rotation_ms * 0.75);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user