aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/midi/null.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/midi/null.cpp b/backends/midi/null.cpp
index 6c8224e16b..6be4bd03ee 100644
--- a/backends/midi/null.cpp
+++ b/backends/midi/null.cpp
@@ -32,3 +32,9 @@ public:
MidiDriver *MidiDriver_NULL_create() {
return new MidiDriver_NULL();
}
+
+#ifdef DISABLE_ADLIB
+MidiDriver *MidiDriver_ADLIB_create(Audio::Mixer *mixer) {
+ return new MidiDriver_NULL();
+}
+#endif