diff options
author | Jamieson Christian | 2003-06-11 18:30:28 +0000 |
---|---|---|
committer | Jamieson Christian | 2003-06-11 18:30:28 +0000 |
commit | eb23eb1cd78e4a5bc2c81ae0cc631e0e7c613c08 (patch) | |
tree | aebc78dd24461427012fb6ac2c853cc2aed2f0f7 /backends | |
parent | 6f50feb359c9e6e4aaef8a5985eef5f38cd6c5fa (diff) | |
download | scummvm-rg350-eb23eb1cd78e4a5bc2c81ae0cc631e0e7c613c08.tar.gz scummvm-rg350-eb23eb1cd78e4a5bc2c81ae0cc631e0e7c613c08.tar.bz2 scummvm-rg350-eb23eb1cd78e4a5bc2c81ae0cc631e0e7c613c08.zip |
Removed unnecessary warning.
svn-id: r8436
Diffstat (limited to 'backends')
-rw-r--r-- | backends/midi/null.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/backends/midi/null.cpp b/backends/midi/null.cpp index 9366bc7f1c..396c24fa3d 100644 --- a/backends/midi/null.cpp +++ b/backends/midi/null.cpp @@ -20,20 +20,14 @@ #include "stdafx.h" #include "sound/mpu401.h" -#include "common/engine.h" // for warning/error/debug /* NULL driver */ class MidiDriver_NULL : public MidiDriver_MPU401 { public: - int open(); + int open() { return 0; } void send(uint32 b) { } }; -int MidiDriver_NULL::open() { - warning("Music not enabled - MIDI support selected with no MIDI driver available. Try Adlib"); - return 0; -} - MidiDriver *MidiDriver_NULL_create() { return new MidiDriver_NULL(); } |