stop appending repeat keys to the input buffer
[retroray] / src / dos / timer.c
index 5492f0b..1bac207 100644 (file)
@@ -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 <stdio.h>
 #include <stdlib.h>
 #include <assert.h>
@@ -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 */