diff options
| -rw-r--r-- | engines/gob/inter_v2.cpp | 2 | ||||
| -rw-r--r-- | sound/mods/infogrames.cpp | 4 | ||||
| -rw-r--r-- | sound/mods/infogrames.h | 3 | 
3 files changed, 5 insertions, 4 deletions
| diff --git a/engines/gob/inter_v2.cpp b/engines/gob/inter_v2.cpp index 22a3ca6d97..b0efea4ea3 100644 --- a/engines/gob/inter_v2.cpp +++ b/engines/gob/inter_v2.cpp @@ -2314,7 +2314,7 @@ void Inter_v2::o2_playInfogrames(int16 &extraData, int32 *retVarPtr, Goblin::Gob  		_vm->_mixer->stopHandle(_vm->_game->_infHandle);  		_vm->_game->_infogrames =  			new Audio::Infogrames(*_vm->_game->_infIns, true, -					_vm->_mixer->getOutputRate()); +					_vm->_mixer->getOutputRate(), _vm->_mixer->getOutputRate() / 75);  		if (!_vm->_game->_infogrames->load(fileName)) {  			warning("Couldn't load infogrames music");  			delete _vm->_game->_infogrames; diff --git a/sound/mods/infogrames.cpp b/sound/mods/infogrames.cpp index a1eeddf22d..a901e48419 100644 --- a/sound/mods/infogrames.cpp +++ b/sound/mods/infogrames.cpp @@ -120,8 +120,8 @@ const uint16 Infogrames::periods[] =  	 0x0A0A, 0x0A0A, 0x0A0A, 0x0202, 0x0202, 0x0202, 0x0202, 0x0202, 0x0202,  	 0x0202, 0x0202, 0x0202, 0x0202, 0x4040, 0x4040, 0x2000}; -Infogrames::Infogrames(Instruments &ins, bool stereo, int rate) : -		Paula(stereo, rate, rate/80) { +Infogrames::Infogrames(Instruments &ins, bool stereo, int rate, +		int interruptFreq) : Paula(stereo, rate, interruptFreq) {  	_instruments = &ins;  	_data = 0;  	_repCount = -1; diff --git a/sound/mods/infogrames.h b/sound/mods/infogrames.h index 78bc9efd82..c40f107947 100644 --- a/sound/mods/infogrames.h +++ b/sound/mods/infogrames.h @@ -70,7 +70,8 @@ public:  		friend class Infogrames;  	}; -	Infogrames(Instruments &ins, bool stereo = false, int rate = 44100); +	Infogrames(Instruments &ins, bool stereo = false, int rate = 44100, +			int interruptFreq = 0);  	~Infogrames();  	Instruments *getInstruments(void) const { return _instruments; } | 
