* msdos.c *
***********************************************************/
-#ifdef MSDOS
+#include "platform.h"
+
+#if defined(PLATFORM_MSDOS)
#include "main.h"
#include "misc.h"
last_joystick_state = 0;
joystick_event = FALSE;
+ sysinfo.audio_available = TRUE;
reserve_voices(MAX_SOUNDS_PLAYING, 0);
if (install_sound(DIGI_AUTODETECT, MIDI_NONE, NULL) == -1)
if (install_sound(DIGI_SB, MIDI_NONE, NULL) == -1)
- sound_status = SOUND_OFF;
+ sysinfo.audio_available = FALSE;
}
static boolean hide_mouse(Display *display, int x, int y,
Error(ERR_WARN, "networking not supported in DOS version");
}
-#endif /* MSDOS */
+#endif /* PLATFORM_MSDOS */