* Replaced a bunch of inline and __inline with ID_INLINE
* Replaced a bunch of __i386__ with id386 * General tidy up of asm preprocessor decisions * Removed C_ONLY from the dedicated server build
This commit is contained in:
1 parent
857a5e264e
commit
e4b7a04d5c
24 files changed
+506
-795
No files matched your search
@@ -645,7 +645,7 @@ static unsigned short yuv_to_rgb( long y, long u, long v )
|
||||
******************************************************************************/
|
||||
#if defined(MACOS_X)
|
||||
|
||||
static inline unsigned int yuv_to_rgb24( long y, long u, long v )
|
||||
static ID_INLINE unsigned int yuv_to_rgb24( long y, long u, long v )
|
||||
{
|
||||
long r,g,b,YY;
|
||||
|
||||
|
||||
@@ -34,7 +34,6 @@ int* snd_p;
|
||||
int snd_linear_count;
|
||||
short* snd_out;
|
||||
|
||||
#if !( (defined __GNUC__) && (defined __i386__) ) // if not a GNU x86 target
|
||||
#if !id386 // if configured not to use asm
|
||||
|
||||
void S_WriteLinearBlastStereo16 (void)
|
||||
@@ -61,6 +60,9 @@ void S_WriteLinearBlastStereo16 (void)
|
||||
snd_out[i+1] = val;
|
||||
}
|
||||
}
|
||||
#elif defined(__GNUC__)
|
||||
// uses snd_mixa.s
|
||||
void S_WriteLinearBlastStereo16 (void);
|
||||
#else
|
||||
|
||||
__declspec( naked ) void S_WriteLinearBlastStereo16 (void)
|
||||
@@ -107,10 +109,6 @@ LClampDone2:
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
#else
|
||||
// forward declare, implementation somewhere else
|
||||
void S_WriteLinearBlastStereo16 (void);
|
||||
#endif
|
||||
|
||||
void S_TransferStereo16 (unsigned long *pbuf, int endtime)
|
||||
|
||||
Reference in new issue
Block a user