summaryrefslogtreecommitdiff
path: root/w32dm.c
diff options
context:
space:
mode:
Diffstat (limited to 'w32dm.c')
-rw-r--r--w32dm.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/w32dm.c b/w32dm.c
index 2a6036fe4..7de6d5541 100644
--- a/w32dm.c
+++ b/w32dm.c
@@ -62,8 +62,10 @@ bool seeking = false;
static char * DMusicMidiStart(char **parm)
{
- InitDirectMusic();
- return 0;
+ if (InitDirectMusic() == true)
+ return(0);
+ else
+ return(false);
}
static void DMusicMidiStop()