X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fdos%2Ftimer.c;h=1bac2076b7e47600ae406713b97fc9803c73c775;hb=HEAD;hp=5492f0b654242fd454dc4ed9ffd9680548bb0350;hpb=86ea36402d2ba296db0950d85e18c50f7ee7006b;p=retroray diff --git a/src/dos/timer.c b/src/dos/timer.c index 5492f0b..1bac207 100644 --- a/src/dos/timer.c +++ b/src/dos/timer.c @@ -1,8 +1,3 @@ -/* for sound we use MIDAS, which takes over the PIT and we can't use it - * therefore only compile this file for NO_SOUND builds. - */ -#ifdef NO_SOUND - #include #include #include @@ -20,7 +15,7 @@ #endif #include "pit8254.h" -#include "inttypes.h" +#include "sizeint.h" #include "util.h" #include "dosutil.h" @@ -178,5 +173,3 @@ static void INTERRUPT timer_irq() /* send EOI to the PIC */ outp(PIC1_CMD, OCW2_EOI); } - -#endif /* NO_SOUND */