[Scummvm-cvs-logs] CVS: scummvm/sky control.cpp,1.90,1.91
Eugene Sandulenko
sev at users.sourceforge.net
Fri Mar 18 03:06:28 CET 2005
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sky/music musicbase.h,1.17,1.18
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm script_v5.cpp,1.272,1.273 scumm.cpp,1.370,1.371 scumm.h,1.543,1.544 string.cpp,1.269,1.270
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21487
Modified Files:
control.cpp
Log Message:
Apply patch #1162546 "BASS: Hanging notes fix / patch". Thanks __tom.
Index: control.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/control.cpp,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- control.cpp 11 Mar 2005 10:51:18 -0000 1.90
+++ control.cpp 18 Mar 2005 11:05:14 -0000 1.91
@@ -1573,6 +1573,15 @@
_skyScreen->halvePalette();
_skyScreen->showScreen(screenData);
free(textBuf1); free(textBuf2);
+
+ // __tom (FIXME): This is a poor method of turning
+ // off music. ~GmMusic, ~AdlibMusic, and ~MT32Music
+ // should do it themselves so the appropriate MIDI
+ // controller events (e.g. 123/'All Notes Off') can
+ // be sent. However, that requires a re-write of
+ // other code and for now this fixes hanging notes
+ // on MT-32 + other external GMIDI synths.
+ _skyMusic->stopMusic();
delay(1500);
ConfMan.flushToDisk();
_system->quit();
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/sky/music musicbase.h,1.17,1.18
- Next message: [Scummvm-cvs-logs] CVS: scummvm/scumm script_v5.cpp,1.272,1.273 scumm.cpp,1.370,1.371 scumm.h,1.543,1.544 string.cpp,1.269,1.270
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list