mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	D_PostEvent_end is only used by Allegro (used by the DOS port) to help timers work, so check for PC_DOS in preprocessor code. Also remove FUNCMATH from said function.
This commit is contained in:
		
							parent
							
								
									856afe0708
								
							
						
					
					
						commit
						7c0fb1702f
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -170,7 +170,7 @@ void D_PostEvent(const event_t *ev)
 | 
			
		|||
	eventhead = (eventhead+1) & (MAXEVENTS-1);
 | 
			
		||||
}
 | 
			
		||||
// just for lock this function
 | 
			
		||||
#ifndef DOXYGEN
 | 
			
		||||
#if defined (PC_DOS) && !defined (DOXYGEN)
 | 
			
		||||
void D_PostEvent_end(void) {};
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -40,8 +40,8 @@ void D_SRB2Main(void);
 | 
			
		|||
 | 
			
		||||
// Called by IO functions when input is detected.
 | 
			
		||||
void D_PostEvent(const event_t *ev);
 | 
			
		||||
#ifndef DOXYGEN
 | 
			
		||||
FUNCMATH void D_PostEvent_end(void);    // delimiter for locking memory
 | 
			
		||||
#if defined (PC_DOS) && !defined (DOXYGEN)
 | 
			
		||||
void D_PostEvent_end(void);    // delimiter for locking memory
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
void D_ProcessEvents(void);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue