diff options
-rw-r--r-- | scumm/imuse_digi/dimuse.cpp | 10 | ||||
-rw-r--r-- | scumm/imuse_digi/dimuse_track.cpp | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/scumm/imuse_digi/dimuse.cpp b/scumm/imuse_digi/dimuse.cpp index a86afca775..d4f2f18c82 100644 --- a/scumm/imuse_digi/dimuse.cpp +++ b/scumm/imuse_digi/dimuse.cpp @@ -379,11 +379,11 @@ void IMuseDigital::switchToNextRegion(Track *track) { Track *fadeTrack = cloneToFadeOutTrack(track, fadeDelay); fadeTrack->dataOffset = _sound->getRegionOffset(fadeTrack->soundHandle, fadeTrack->curRegion); fadeTrack->regionOffset = 0; - debug(5, "switchToNextRegion-sound(%d) select %d region, curHookId: %d", fadeTrack->soundId, fadeTrack->curRegion, fadeTrack->curHookId); + debug(5, "switchToNextRegion-sound(%d) select region %d, curHookId: %d", fadeTrack->soundId, fadeTrack->curRegion, fadeTrack->curHookId); fadeTrack->curHookId = 0; } track->curRegion = region; - debug(5, "switchToNextRegion-sound(%d) jump to %d region, curHookId: %d", track->soundId, track->curRegion, track->curHookId); + debug(5, "switchToNextRegion-sound(%d) jump to region %d, curHookId: %d", track->soundId, track->curRegion, track->curHookId); track->curHookId = 0; } } else { @@ -391,14 +391,14 @@ void IMuseDigital::switchToNextRegion(Track *track) { Track *fadeTrack = cloneToFadeOutTrack(track, fadeDelay); fadeTrack->dataOffset = _sound->getRegionOffset(fadeTrack->soundHandle, fadeTrack->curRegion); fadeTrack->regionOffset = 0; - debug(5, "switchToNextRegion-sound(%d) select %d region, curHookId: %d", fadeTrack->soundId, fadeTrack->curRegion, fadeTrack->curHookId); + debug(5, "switchToNextRegion-sound(%d) select region %d, curHookId: %d", fadeTrack->soundId, fadeTrack->curRegion, fadeTrack->curHookId); } track->curRegion = region; - debug(5, "switchToNextRegion-sound(%d) jump to %d region, curHookId: %d", track->soundId, track->curRegion, track->curHookId); + debug(5, "switchToNextRegion-sound(%d) jump to region %d, curHookId: %d", track->soundId, track->curRegion, track->curHookId); } } - debug(5, "switchToNextRegion-sound(%d) select %d region, curHookId: %d", track->soundId, track->curRegion, track->curHookId); + debug(5, "switchToNextRegion-sound(%d) select region %d, curHookId: %d", track->soundId, track->curRegion, track->curHookId); track->dataOffset = _sound->getRegionOffset(soundHandle, track->curRegion); track->regionOffset = 0; } diff --git a/scumm/imuse_digi/dimuse_track.cpp b/scumm/imuse_digi/dimuse_track.cpp index ab80e92db2..06a03e6227 100644 --- a/scumm/imuse_digi/dimuse_track.cpp +++ b/scumm/imuse_digi/dimuse_track.cpp @@ -310,7 +310,7 @@ IMuseDigital::Track *IMuseDigital::cloneToFadeOutTrack(Track *track, int fadeDel } } if (fadeTrack == 0) - error("IMuseDigital::cloneTofadeTrackId() Can't find free fade track"); + error("IMuseDigital::cloneToFadeOutTrack() Can't find free fade track"); fadeTrack->pan = track->pan; fadeTrack->vol = track->vol; |