bugfix in PI1_load_ranges()
This commit is contained in:
parent
0e512209a7
commit
3ed119a6c2
@ -1543,7 +1543,9 @@ void PI1_load_ranges(T_IO_Context * context, const byte * buffer, int size)
|
||||
// Sanity checks
|
||||
if (min_col < 256 && max_col < 256 && direction < 3 && (direction == 1 || delay < 128))
|
||||
{
|
||||
int speed = 210/(128-delay);
|
||||
int speed = 105;
|
||||
if (delay < 128)
|
||||
speed = 210/(128-delay);
|
||||
// Grafx2's slider has a limit of 105
|
||||
if (speed>105)
|
||||
speed = 105;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user