[Scummvm-cvs-logs] CVS: scummvm/sound adlib.cpp,1.2,1.3

Ludvig Strigeus strigeus at users.sourceforge.net
Tue Dec 4 02:45:02 CET 2001


Update of /cvsroot/scummvm/scummvm/sound
In directory usw-pr-cvs1:/tmp/cvs-serv26052/sound

Modified Files:
	adlib.cpp 
Log Message:
* better drawBox (tnx sam_k)
* more params allowed for soundKludge opcode (8 instead of 16) will perhaps fix bugs.

Index: adlib.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/adlib.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** adlib.cpp	2001/12/01 22:44:09	1.2
--- adlib.cpp	2001/12/04 10:44:33	1.3
***************
*** 118,123 ****
  	_se = eng;
  
! 	for(i=0,mc=_midi_channels; i!=ARRAYSIZE(_midi_channels);i++,mc++)
  		mc->_channel = i;
  
  	_adlib_reg_cache = (byte*)calloc(256,1);
--- 118,126 ----
  	_se = eng;
  
! 	for(i=0,mc=_midi_channels; i!=ARRAYSIZE(_midi_channels);i++,mc++) {
  		mc->_channel = i;
+ 		mc->_s11a.s10 = &mc->_s10b;
+ 		mc->_s11b.s10 = &mc->_s10a;
+ 	}
  
  	_adlib_reg_cache = (byte*)calloc(256,1);





More information about the Scummvm-git-logs mailing list