diff options
-rw-r--r-- | engines/kyra/sound_amiga.cpp | 4 | ||||
-rw-r--r-- | sound/mods/paula.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/sound_amiga.cpp b/engines/kyra/sound_amiga.cpp index 11c28940fd..e858ca3df2 100644 --- a/engines/kyra/sound_amiga.cpp +++ b/engines/kyra/sound_amiga.cpp @@ -131,11 +131,11 @@ void SoundAmiga::haltTrack() { void SoundAmiga::beginFadeOut() { for (int i = 0x3F; i >= 0; --i) { _driver->setVolume((byte)i); - _vm->delay(1000 / 50); + _vm->delayWithTicks(1); } _driver->stopMusic(); - _vm->delay(1000 / 50); + _vm->delayWithTicks(1); _driver->setVolume(0x40); } diff --git a/sound/mods/paula.cpp b/sound/mods/paula.cpp index f801ecfc9f..e7a916f218 100644 --- a/sound/mods/paula.cpp +++ b/sound/mods/paula.cpp @@ -159,7 +159,7 @@ int Paula::readBufferIntern(int16 *buffer, const int numSamples) { // achieve the same more efficiently: Take rate modulo sLen // TODO: This messes up dmaCount and shouldnt happen? if (sLen < rate) - warning("Paula: lenght %d is lesser than rate", _voice[voice].length); + warning("Paula: length %d is lesser than rate", _voice[voice].length); // rate %= sLen; // Repeat as long as necessary. |