diff options
Diffstat (limited to 'engines/touche/midi.cpp')
-rw-r--r-- | engines/touche/midi.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/touche/midi.cpp b/engines/touche/midi.cpp index 0b15643767..c420fb34ff 100644 --- a/engines/touche/midi.cpp +++ b/engines/touche/midi.cpp @@ -110,6 +110,10 @@ int MidiPlayer::open() { return ret; } +bool MidiPlayer::isOpen() const { + return _driver && _driver->isOpen(); +} + void MidiPlayer::close() { stop(); _mutex.lock(); |