equal
deleted
inserted
replaced
1 /* $Id$ */ |
1 /* $Id$ */ |
2 |
2 |
3 #include "../stdafx.h" |
3 #include "../stdafx.h" |
4 #include "null_m.h" |
4 #include "null_m.h" |
5 |
5 |
6 static const char* NullMidiStart(const char* const* parm) { return NULL; } |
6 static FMusicDriver_Null iFMusicDriver_Null; |
7 static void NullMidiStop() {} |
|
8 static void NullMidiPlaySong(const char *filename) {} |
|
9 static void NullMidiStopSong() {} |
|
10 static bool NullMidiIsSongPlaying() { return true; } |
|
11 static void NullMidiSetVolume(byte vol) {} |
|
12 |
7 |
13 const HalMusicDriver _null_music_driver = { |
|
14 NullMidiStart, |
|
15 NullMidiStop, |
|
16 NullMidiPlaySong, |
|
17 NullMidiStopSong, |
|
18 NullMidiIsSongPlaying, |
|
19 NullMidiSetVolume, |
|
20 }; |
|