[Scummvm-cvs-logs] SF.net SVN: scummvm:[41902] scummvm/trunk/engines/kyra/sound_towns.cpp
athrxx at users.sourceforge.net
athrxx at users.sourceforge.net
Fri Jun 26 19:58:28 CEST 2009
Revision: 41902
http://scummvm.svn.sourceforge.net/scummvm/?rev=41902&view=rev
Author: athrxx
Date: 2009-06-26 17:58:27 +0000 (Fri, 26 Jun 2009)
Log Message:
-----------
KYRA/LOL: fixed minor bug by adding reset() call to pc98 audio driver destructor
Modified Paths:
--------------
scummvm/trunk/engines/kyra/sound_towns.cpp
Modified: scummvm/trunk/engines/kyra/sound_towns.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sound_towns.cpp 2009-06-26 10:37:00 UTC (rev 41901)
+++ scummvm/trunk/engines/kyra/sound_towns.cpp 2009-06-26 17:58:27 UTC (rev 41902)
@@ -3420,6 +3420,8 @@
}
TownsPC98_OpnDriver::~TownsPC98_OpnDriver() {
+ reset();
+
if (_channels) {
for (int i = 0; i < _numChan; i++)
delete _channels[i];
@@ -4120,7 +4122,7 @@
// This has been disabled for now since I don't know
// how to make up the correct track number. It probably
// needs a map.
- //_driver->loadSoundEffectData(_sfxTrackData, track);
+ _driver->loadSoundEffectData(_sfxTrackData, track);
}
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