mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 13:50:13 +00:00
Add support for music in the LoL intro demo.
svn-id: r40706
This commit is contained in:
parent
273b93f3a7
commit
29cf3ed1a4
@ -2220,7 +2220,7 @@ const int SoundAdlibPC::_kyra1NumSoundTriggers = ARRAYSIZE(SoundAdlibPC::_kyra1S
|
||||
SoundAdlibPC::SoundAdlibPC(KyraEngine_v1 *vm, Audio::Mixer *mixer)
|
||||
: Sound(vm, mixer), _driver(0), _trackEntries(), _soundDataPtr(0) {
|
||||
memset(_trackEntries, 0, sizeof(_trackEntries));
|
||||
_v2 = (_vm->gameFlags().gameID == GI_KYRA2) || (_vm->gameFlags().gameID == GI_LOL);
|
||||
_v2 = (_vm->gameFlags().gameID == GI_KYRA2) || (_vm->gameFlags().gameID == GI_LOL && !_vm->gameFlags().isDemo);
|
||||
_driver = new AdlibDriver(mixer, _v2);
|
||||
assert(_driver);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user