[Scummvm-cvs-logs] CVS: scummvm/saga music.cpp,1.68,1.69

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Tue Oct 11 23:58:14 CEST 2005


Update of /cvsroot/scummvm/scummvm/saga
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17412/saga

Modified Files:
	music.cpp 
Log Message:
Looks like my pitch wheel change still has the ability to break things. See
bug #1324103.

I've changed it - again - so that now it only centers the pitch wheels on
unload if a new mpCenterPitchWheelOnUnload property has been set. Currently
only the SAGA engine does that, so if it still breaks it only breaks SAGA.

I've also fixed what looked like an unintentional fall-through in the
MidiParser::property() function. Surently that can't cause any new
regressions? Please.


Index: music.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/saga/music.cpp,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- music.cpp	26 Sep 2005 07:04:27 -0000	1.68
+++ music.cpp	12 Oct 2005 06:57:25 -0000	1.69
@@ -487,6 +487,7 @@
 	parser->setTrack(0);
 	parser->setMidiDriver(_player);
 	parser->setTimerRate(_player->getBaseTempo());
+	parser->property(MidiParser::mpCenterPitchWheelOnUnload, 1);
 
 	_player->_parser = parser;
 	_player->setVolume(_vm->_musicVolume == 10 ? 255 : _vm->_musicVolume * 25);





More information about the Scummvm-git-logs mailing list