Skip to content

Commit

Permalink
SAGA: Tweak music timing in IHNM intro
Browse files Browse the repository at this point in the history
This wasn't a regression. The music has always been cut off at an
awkward point.
  • Loading branch information
Torbjörn Andersson committed Jun 28, 2015
1 parent a1929c6 commit 7615f92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engines/saga/introproc_ihnm.cpp
Expand Up @@ -68,7 +68,7 @@ int Scene::IHNMStartProc() {
// Play the title music
_vm->_music->play(1, MUSIC_NORMAL);
// Play title screen
playTitle(2, 17);
playTitle(2, _vm->_music->isAdlib() ? 20 : 27);
}
}
} else {
Expand Down Expand Up @@ -150,7 +150,7 @@ bool Scene::checkKey() {
break;
case Common::EVENT_KEYDOWN:
// Don't react to modifier keys alone. The original did
// non, and the user may want to change scaler without
// not, and the user may want to change scaler without
// terminating the intro.
if (event.kbd.ascii)
res = true;
Expand Down
2 changes: 2 additions & 0 deletions engines/saga/music.h
Expand Up @@ -80,6 +80,8 @@ class Music {
void setVolume(int volume, int time = 1);
int getVolume() { return _currentVolume; }

bool isAdlib() const { return _player->isAdlib(); }

Common::Array<int32> _songTable;

private:
Expand Down

0 comments on commit 7615f92

Please sign in to comment.