From c1176498f146f01832bc4d98b477f4479302cd4f Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 29 Jun 2010 11:15:21 +0000 Subject: Removed the old hardcoded calls to loadDSRFile svn-id: r50491 --- engines/m4/m4.cpp | 9 --------- engines/m4/mads_menus.cpp | 1 - 2 files changed, 10 deletions(-) (limited to 'engines/m4') diff --git a/engines/m4/m4.cpp b/engines/m4/m4.cpp index f1506598d2..fc1caec883 100644 --- a/engines/m4/m4.cpp +++ b/engines/m4/m4.cpp @@ -568,15 +568,6 @@ Common::Error MadsEngine::run() { _viewManager->systemHotkeys().add(Common::KEYCODE_ESCAPE, &escapeHotkeyHandler); _viewManager->systemHotkeys().add(Common::KEYCODE_KP_MULTIPLY, &textviewHotkeyHandler); - // Load the general game SFX/voices - if (getGameType() == GType_RexNebular) { - _sound->loadDSRFile("rex009.dsr"); - } else if (getGameType() == GType_Phantom) { - _sound->loadDSRFile("phan009.dsr"); - } else if (getGameType() == GType_DragonSphere) { - _sound->loadDSRFile("drag009.dsr"); - } - uint32 nextFrame = g_system->getMillis(); while (!_events->quitFlag) { eventHandler(); diff --git a/engines/m4/mads_menus.cpp b/engines/m4/mads_menus.cpp index 0addfc57cb..d7d9cf4150 100644 --- a/engines/m4/mads_menus.cpp +++ b/engines/m4/mads_menus.cpp @@ -309,7 +309,6 @@ void RexMainMenuView::handleAction(MadsGameAction action) { return; case SHOW_INTRO: - vm->_sound->loadDSRFile("act002.dsr"); vm->_viewManager->showAnimView("@rexopen"); break; -- cgit v1.2.3