From 4bfa4a73c33728a074b3cfcbfd3eb9922cf99cd3 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 9 Feb 2022 21:02:44 -0800 Subject: [PATCH] CHEWY: Re-enable title sequence --- engines/chewy/dialogs/main_menu.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/engines/chewy/dialogs/main_menu.cpp b/engines/chewy/dialogs/main_menu.cpp index f56ef66ea61..f002a4cd533 100644 --- a/engines/chewy/dialogs/main_menu.cpp +++ b/engines/chewy/dialogs/main_menu.cpp @@ -19,6 +19,7 @@ * */ +#include "common/config-manager.h" #include "common/textconsole.h" #include "chewy/dialogs/main_menu.h" #include "chewy/dialogs/cinema.h" @@ -36,16 +37,16 @@ int MainMenu::_selection; int MainMenu::_personAni[3]; void MainMenu::execute() { -#ifdef TODO_REENABLE - // TODO: Currently disabled so it doesn't keep playing on startup - mem->file->select_pool_item(music_handle, EndOfPool - 17); - mem->file->load_tmf(music_handle, (tmf_header *)Ci.MusicSlot); - if (!modul) - ailsnd->playMod((tmf_header *)Ci.MusicSlot); + // Convenience during testing to not keep showing title sequence + if (!ConfMan.getBool("skip_title")) { + mem->file->select_pool_item(music_handle, EndOfPool - 17); + mem->file->load_tmf(music_handle, (tmf_header *)Ci.MusicSlot); + if (!modul) + sndPlayer->playMod((tmf_header *)Ci.MusicSlot); - flic_cut(200, 0); - ailsnd->stopMod(); -#endif + flic_cut(200, 0); + sndPlayer->stopMod(); + } show_intro();