aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorJamieson Christian2003-08-16 09:34:19 +0000
committerJamieson Christian2003-08-16 09:34:19 +0000
commit121b00a6f718f4b691c77708120083da2fedd018 (patch)
tree9a28315710f3a7b870ccecd4637bb1fe78f4974a /sound
parent8281c2eecc64a1d4a97cc29e2f0af7bfc14cbf3a (diff)
downloadscummvm-rg350-121b00a6f718f4b691c77708120083da2fedd018.tar.gz
scummvm-rg350-121b00a6f718f4b691c77708120083da2fedd018.tar.bz2
scummvm-rg350-121b00a6f718f4b691c77708120083da2fedd018.zip
Corrected timing mechanism for RO music streams.
RO streams have built-in timer markers (the unknown 0xA0 mentioned in FR [742249]) that override automated methods of updating VAR_MUSIC_TIMER. Since these timer markers do not seem to be present in AD resources, the old mechanism is used if MD_ADLIB is the current MidiDriver. svn-id: r9720
Diffstat (limited to 'sound')
-rw-r--r--sound/midiparser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/midiparser.h b/sound/midiparser.h
index c5fad965d5..e419535df0 100644
--- a/sound/midiparser.h
+++ b/sound/midiparser.h
@@ -248,6 +248,7 @@ public:
bool setTrack (int track);
bool jumpToTick (uint32 tick, bool fireEvents = false);
uint32 getTick() { return _position._play_tick; }
+ virtual uint32 getTime() { return _position._play_time; }
static MidiParser *createParser_SMF();
static MidiParser *createParser_XMIDI();