Fix bug that made cdcontrol play <track> play <track> - 1

This commit is contained in:
eivind 2003-03-24 20:54:30 +00:00
parent 8fda0bf5a4
commit ffd0ffb69b

View File

@ -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;