Add PIT_TICK_RATE define
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@270
This commit is contained in:
		
							parent
							
								
									5bfa4cb74c
								
							
						
					
					
						commit
						3c24c0a2fb
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -22,6 +22,9 @@
 | 
			
		|||
#include <SDL/SDL.h>
 | 
			
		||||
 | 
			
		||||
extern Bit32u LastTicks;
 | 
			
		||||
 | 
			
		||||
#define PIT_TICK_RATE 1193182
 | 
			
		||||
 | 
			
		||||
#define GetTicks() SDL_GetTicks()
 | 
			
		||||
 | 
			
		||||
extern bool TimerAgain;
 | 
			
		||||
| 
						 | 
				
			
			@ -50,6 +53,5 @@ void TIMER_CheckPIT(void);
 | 
			
		|||
/* This will add ms ticks to support the timer handlers */
 | 
			
		||||
void TIMER_AddTicks(Bit32u ticks);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue