diff options
author | Martin Kiewitz | 2015-06-01 13:26:34 +0200 |
---|---|---|
committer | Martin Kiewitz | 2015-06-01 13:26:34 +0200 |
commit | c20fbeaf6f99714c9b62f619915f0b7275089e90 (patch) | |
tree | 2e3e756234d50999ed39071da39bc2cf4fb366a7 | |
parent | de837f2719d1960372a79db4404b9c36e38a159f (diff) | |
download | scummvm-rg350-c20fbeaf6f99714c9b62f619915f0b7275089e90.tar.gz scummvm-rg350-c20fbeaf6f99714c9b62f619915f0b7275089e90.tar.bz2 scummvm-rg350-c20fbeaf6f99714c9b62f619915f0b7275089e90.zip |
SHERLOCK: add comments about waitUntilTick()
-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; |