diff options
-rw-r--r-- | engines/sherlock/music.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sherlock/music.cpp b/engines/sherlock/music.cpp index b72e4d4b8e..a6f1e5b9b4 100644 --- a/engines/sherlock/music.cpp +++ b/engines/sherlock/music.cpp @@ -358,6 +358,9 @@ void Music::waitTimerRoland(uint time) { warning("TODO: Sound::waitTimerRoland"); } +// This is used to wait for the music in certain situations like especially the intro +// Note: the original game didn't do this, instead it just waited for certain amounts of time +// We do this, so that the intro graphics + music work together even on faster/slower hardware. bool Music::waitUntilTick(uint32 tick, uint32 maxTick, uint32 additionalDelay, uint32 noMusicDelay) { uint32 currentTick = 0; |