diff --git a/sound/null_s.c b/sound/null_s.c new file mode 100644 --- /dev/null +++ b/sound/null_s.c @@ -0,0 +1,11 @@ +#include "stdafx.h" +#include "openttd.h" +#include "sound/null_s.h" + +static const char *NullSoundStart(const char * const *parm) { return NULL; } +static void NullSoundStop(void) {} + +const HalSoundDriver _null_sound_driver = { + NullSoundStart, + NullSoundStop, +};