Reverted revision 107.
This commit is contained in:
parent
e6abe5f50d
commit
62afac2a71
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ static int pit_read_timer(int t)
|
|||
// pclog("pit_read_timer: t=%i using_timer=%i m=%i\n", t, pit.using_timer[t], pit.m[t]);
|
||||
if (pit.using_timer[t])
|
||||
{
|
||||
int read = (pit.c[t] / PITCONST) - 1;
|
||||
int read = (pit.c[t] / PITCONST);
|
||||
if (pit.m[t] == 2)
|
||||
read++;
|
||||
if (read < 0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue