From 063fa83483b69c4e3758015ea81b0eaad8d978a5 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 10 Apr 2005 01:31:31 +0000 Subject: Init music engine within setupMusic(), even for V1 and V2 games svn-id: r17498 --- scumm/resource_v2.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'scumm/resource_v2.cpp') diff --git a/scumm/resource_v2.cpp b/scumm/resource_v2.cpp index 38eb622a6e..1e968d6b00 100644 --- a/scumm/resource_v2.cpp +++ b/scumm/resource_v2.cpp @@ -22,8 +22,6 @@ #include "stdafx.h" #include "scumm/scumm.h" #include "scumm/intern.h" -#include "scumm/player_v2.h" -#include "scumm/player_v1.h" #include "scumm/resource.h" #include "sound/mididrv.h" @@ -33,9 +31,6 @@ void ScummEngine_v2::readClassicIndexFile() { int i; if (_gameId == GID_MANIAC) { - if (!(_features & GF_AMIGA) && !(_features & GF_NES)) - _musicEngine = new Player_V1(this, _midiDriver != MD_PCSPK); - if (_features & GF_NES) _numGlobalObjects = 775; else @@ -52,9 +47,6 @@ void ScummEngine_v2::readClassicIndexFile() { _numScripts = 200; _numSounds = 100; } else if (_gameId == GID_ZAK) { - if (!(_features & GF_AMIGA)) - _musicEngine = new Player_V2(this, _midiDriver != MD_PCSPK); - _numGlobalObjects = 775; _numRooms = 61; _numCostumes = 37; @@ -114,9 +106,6 @@ void ScummEngine_v2::readClassicIndexFile() { void ScummEngine_v2::readEnhancedIndexFile() { - if (!(_features & GF_AMIGA)) - _musicEngine = new Player_V2(this, _midiDriver != MD_PCSPK); - _numGlobalObjects = _fileHandle->readUint16LE(); _fileHandle->seek(_numGlobalObjects, SEEK_CUR); _numRooms = _fileHandle->readByte(); -- cgit v1.2.3