Removed duplicate PIT counting from 808x.c - fixes some timing issues with XT machines.

This commit is contained in:
TomW 2015-11-25 21:25:01 +00:00
commit 3d35442da7

View file

@ -806,10 +806,6 @@ void clockhardware()
int diff = cycdiff - cycles - current_diff;
current_diff += diff;
if (pit.running[0]) pit.c[0] -= diff;
if (pit.running[1]) pit.c[1] -= diff;
if (pit.running[2]) pit.c[2] -= diff;
if ((pit.c[0] < 1) || (pit.c[1] < 1) || (pit.c[2] < 1)) pit_poll();
timer_end_period(cycles);
}