aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/touche/resource.cpp')
-rw-r--r--engines/touche/resource.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/touche/resource.cpp b/engines/touche/resource.cpp
index ef7b1612c4..6a5dc02428 100644
--- a/engines/touche/resource.cpp
+++ b/engines/touche/resource.cpp
@@ -28,6 +28,7 @@
#include "sound/voc.h"
#include "sound/vorbis.h"
+#include "touche/midi.h"
#include "touche/touche.h"
#include "touche/graphics.h"
@@ -564,7 +565,7 @@ void ToucheEngine::res_loadMusic(int num) {
uint32 size;
const uint32 offs = res_getDataOffset(kResourceTypeMusic, num, &size);
_fData.seek(offs);
- // XXX start MIDI data playback
+ _midiPlayer->play(_fData, size);
}
void ToucheEngine::res_loadSpeech(int num) {