[Scummvm-cvs-logs] SF.net SVN: scummvm:[40706] scummvm/trunk/engines/kyra/sound_adlib.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Mon May 18 23:56:09 CEST 2009
Revision: 40706
http://scummvm.svn.sourceforge.net/scummvm/?rev=40706&view=rev
Author: lordhoto
Date: 2009-05-18 21:56:09 +0000 (Mon, 18 May 2009)
Log Message:
-----------
Add support for music in the LoL intro demo.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/sound_adlib.cpp
Modified: scummvm/trunk/engines/kyra/sound_adlib.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sound_adlib.cpp 2009-05-18 21:45:09 UTC (rev 40705)
+++ scummvm/trunk/engines/kyra/sound_adlib.cpp 2009-05-18 21:56:09 UTC (rev 40706)
@@ -2220,7 +2220,7 @@
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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list