aboutsummaryrefslogtreecommitdiffstats
path: root/code/client/snd_mix.c
diff options
context:
space:
mode:
Diffstat (limited to 'code/client/snd_mix.c')
-rw-r--r--code/client/snd_mix.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/code/client/snd_mix.c b/code/client/snd_mix.c
index 1c3a1da..21adf90 100644
--- a/code/client/snd_mix.c
+++ b/code/client/snd_mix.c
@@ -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)
@@ -108,10 +110,6 @@ LClampDone2:
}
#endif
-#else
-// forward declare, implementation somewhere else
-void S_WriteLinearBlastStereo16 (void);
-#endif
void S_TransferStereo16 (unsigned long *pbuf, int endtime)
{