allow null_snddma to be used with snd_dma

This commit is contained in:
Jonathan Gray 2013-04-25 22:35:50 +10:00
parent e454e9ebd7
commit 36099f2c19

View file

@ -4,8 +4,6 @@
#include "../client/client.h"
qboolean gbInsideLoadSound = qfalse; // important to default to this!!!
qboolean SNDDMA_Init(void)
{
return qfalse;
@ -28,6 +26,9 @@ void SNDDMA_Submit(void)
{
}
#ifdef DEDICATED
qboolean gbInsideLoadSound = qfalse; // important to default to this!!!
sfxHandle_t S_RegisterSound( const char *name ) {
return 0;
}
@ -46,4 +47,5 @@ qboolean SND_RegisterAudio_LevelLoadEnd(qboolean something)
int SND_FreeOldestSound(void)
{
return 0;
}
}
#endif