allow null_snddma to be used with snd_dma

This commit is contained in:
Jonathan Gray 2013-04-28 15:12:03 +10:00
parent 5cfcb7c3ed
commit e926318ae5

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