aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2011-09-25 12:25:16 -0400
committerMatthew Hoops2011-09-25 12:25:16 -0400
commite97ddf24495b0eaa7296113e5425f7d9cdc9a204 (patch)
tree48a72c03920cb118aed4c90317d31db013541b96 /engines
parent4aed723368b9a4e82205bc3ed950a4e04ba3d8dc (diff)
downloadscummvm-rg350-e97ddf24495b0eaa7296113e5425f7d9cdc9a204.tar.gz
scummvm-rg350-e97ddf24495b0eaa7296113e5425f7d9cdc9a204.tar.bz2
scummvm-rg350-e97ddf24495b0eaa7296113e5425f7d9cdc9a204.zip
PEGASUS: Enable main menu sound fading now that it works
Diffstat (limited to 'engines')
-rwxr-xr-xengines/pegasus/menu.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/pegasus/menu.cpp b/engines/pegasus/menu.cpp
index 3793a1f3a3..f4ec150eb8 100755
--- a/engines/pegasus/menu.cpp
+++ b/engines/pegasus/menu.cpp
@@ -191,7 +191,7 @@ MainMenu::MainMenu() : GameMenu(kMainMenuID), _menuBackground(0), _overviewButto
_adventureMode = true;
- //_menuLoop.attachFader(&_menuFader);
+ _menuLoop.attachFader(&_menuFader);
_menuLoop.initFromAIFFFile("Sounds/Main Menu.aiff");
updateDisplay();
@@ -207,14 +207,14 @@ void MainMenu::startMainMenuLoop() {
_menuLoop.loopSound();
spec.makeTwoKnotFaderSpec(30, 0, 0, 30, 255);
- //_menuFader.startFaderSync(spec);
+ _menuFader.startFaderSync(spec);
}
void MainMenu::stopMainMenuLoop() {
FaderMoveSpec spec;
spec.makeTwoKnotFaderSpec(30, 0, 255, 30, 0);
- //_menuFader.startFaderSync(spec);
+ _menuFader.startFaderSync(spec);
_menuLoop.stopSound();
}