aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
Diffstat (limited to 'backends')
-rw-r--r--backends/midi/ym2612.cpp31
-rw-r--r--backends/module.mk3
2 files changed, 33 insertions, 1 deletions
diff --git a/backends/midi/ym2612.cpp b/backends/midi/ym2612.cpp
new file mode 100644
index 0000000000..1da6f64c37
--- /dev/null
+++ b/backends/midi/ym2612.cpp
@@ -0,0 +1,31 @@
+/* ScummVM - Scumm Interpreter
+ * Copyright (C) 2001-2003 The ScummVM project
+ *
+ * YM2612 tone generation code written by Tomoaki Hayasaka.
+ * Used under the terms of the GNU General Public License.
+ * Adpated to ScummVM by Jamieson Christian.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * $Header$
+ */
+
+// Real implementation coming soon! :)
+
+#include "sound/mididrv.h"
+
+MidiDriver *MidiDriver_YM2612_create(SoundMixer *mixer) {
+ return 0;
+}
diff --git a/backends/module.mk b/backends/module.mk
index bb10fa7bb5..80030f0781 100644
--- a/backends/module.mk
+++ b/backends/module.mk
@@ -11,7 +11,8 @@ MODULE_OBJS := \
backends/midi/quicktime.o \
backends/midi/seq.o \
backends/midi/alsa.o \
- backends/midi/windows.o
+ backends/midi/windows.o \
+ backends/midi/ym2612.o
MODULE_DIRS += \
backends \