Fix bug that made cdcontrol play <track> play <track> - 1
This commit is contained in:
parent
8fda0bf5a4
commit
ffd0ffb69b
@ -581,6 +581,8 @@ Play_Relative_Addresses:
|
||||
else if (tr1 > n)
|
||||
tr1 = n;
|
||||
|
||||
tr1--;
|
||||
|
||||
if (msf) {
|
||||
tm = toc_buffer[tr1].addr.msf.minute;
|
||||
ts = toc_buffer[tr1].addr.msf.second;
|
||||
@ -597,8 +599,6 @@ Play_Relative_Addresses:
|
||||
return (0);
|
||||
}
|
||||
|
||||
tr1--;
|
||||
|
||||
f1 += tf;
|
||||
if (f1 >= 75) {
|
||||
s1 += f1 / 75;
|
||||
|
Loading…
x
Reference in New Issue
Block a user