diff options
author | Vladimir Menshakov | 2010-01-03 10:46:14 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2010-01-03 10:46:14 +0000 |
commit | 3fbf1293d81725316c45faf9d0bc93424a2e18bf (patch) | |
tree | e4f1a40fdc71235cc47fd3d1ce458475887fa19a /engines/teenagent | |
parent | 1abbfb810f68ff24968bc4c56683272b2952a9c7 (diff) | |
download | scummvm-rg350-3fbf1293d81725316c45faf9d0bc93424a2e18bf.tar.gz scummvm-rg350-3fbf1293d81725316c45faf9d0bc93424a2e18bf.tar.bz2 scummvm-rg350-3fbf1293d81725316c45faf9d0bc93424a2e18bf.zip |
started music before logo
svn-id: r46921
Diffstat (limited to 'engines/teenagent')
-rw-r--r-- | engines/teenagent/teenagent.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/engines/teenagent/teenagent.cpp b/engines/teenagent/teenagent.cpp index 9dda5b248b..7c0ad2d204 100644 --- a/engines/teenagent/teenagent.cpp +++ b/engines/teenagent/teenagent.cpp @@ -314,11 +314,6 @@ Common::Error TeenAgentEngine::run() { initGraphics(320, 200, false); - int load_slot = Common::ConfigManager::instance().getInt("save_slot"); - - if (load_slot < 0 && !showLogo("unlogic.res")) - return Common::kNoError; - scene = new Scene; inventory = new Inventory; console = new Console(this); @@ -329,7 +324,6 @@ Common::Error TeenAgentEngine::run() { init(); CursorMan.pushCursor(res->dseg.ptr(0x00da), 8, 12, 0, 0, 1); - CursorMan.showMouse(true); syncSoundSettings(); @@ -337,14 +331,19 @@ Common::Error TeenAgentEngine::run() { _mixer->playInputStream(Audio::Mixer::kMusicSoundType, &_musicHandle, music, -1, 255, 0, true, false); music->start(); + int load_slot = Common::ConfigManager::instance().getInt("save_slot"); if (load_slot >= 0) { loadGameState(load_slot); } else { + if (!showLogo("unlogic.res")) + return Common::kNoError; scene->intro = true; scene_busy = true; processCallback(0x24c); } + CursorMan.showMouse(true); + uint32 frame = 0; Common::Event event; |