diff options
author | Jamieson Christian | 2002-12-18 07:53:45 +0000 |
---|---|---|
committer | Jamieson Christian | 2002-12-18 07:53:45 +0000 |
commit | fec55e0b57bd863e5c3c2f0971b5dceb31b28cf3 (patch) | |
tree | dc759d3f64bfedc4424414618ab9f6e59a970c11 /backends | |
parent | fe671615de1b8479f0fe3ce5def7464d93c0383c (diff) | |
download | scummvm-rg350-fec55e0b57bd863e5c3c2f0971b5dceb31b28cf3.tar.gz scummvm-rg350-fec55e0b57bd863e5c3c2f0971b5dceb31b28cf3.tar.bz2 scummvm-rg350-fec55e0b57bd863e5c3c2f0971b5dceb31b28cf3.zip |
Fixed Adlib compilation problem
svn-id: r6014
Diffstat (limited to 'backends')
-rw-r--r-- | backends/midi/adlib.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/backends/midi/adlib.cpp b/backends/midi/adlib.cpp index a1387cd406..07111afd89 100644 --- a/backends/midi/adlib.cpp +++ b/backends/midi/adlib.cpp @@ -77,6 +77,7 @@ private: void allocate() { _allocated = true; } public: + MidiDriver *device(); byte getNumber() { return _channel; } void release() { _allocated = false; } @@ -579,6 +580,11 @@ void AdlibPart::init (MidiDriver_ADLIB *owner, byte channel) { } +MidiDriver *AdlibPart::device() +{ + return _owner; +} + void AdlibPart::noteOff (byte note) { _owner->part_key_off (this, note); |