[Scummvm-cvs-logs] CVS: scummvm/simon simon.h,1.3,1.4 midi.cpp,1.4,1.5

Ludvig Strigeus strigeus at users.sourceforge.net
Sat Apr 13 12:05:39 CEST 2002


Update of /cvsroot/scummvm/scummvm/simon
In directory usw-pr-cvs1:/tmp/cvs-serv17360

Modified Files:
	simon.h midi.cpp 
Log Message:
removed anonymous struct

Index: simon.h
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** simon.h	13 Apr 2002 18:31:45 -0000	1.3
--- simon.h	13 Apr 2002 19:02:55 -0000	1.4
***************
*** 263,274 ****
  	struct NoteRec {
  		uint32 delay;
! 		union {
! 			struct {
! 				byte cmd;
! 				byte param_1;
! 				byte param_2;
! 			};
! 			uint32 big_cmd;
! 		};
  		uint cmd_length;
  		byte *sysex_data;
--- 263,269 ----
  	struct NoteRec {
  		uint32 delay;
! 		byte cmd;
! 		byte param_1;
! 		byte param_2;
  		uint cmd_length;
  		byte *sysex_data;

Index: midi.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/midi.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** midi.cpp	13 Apr 2002 18:31:45 -0000	1.4
--- midi.cpp	13 Apr 2002 19:02:55 -0000	1.5
***************
*** 310,314 ****
  
  	nr->delay = 0;
! 	nr->big_cmd = 0;
  	nr->cmd_length = 0;
  	nr->sysex_data = NULL;
--- 310,316 ----
  
  	nr->delay = 0;
! 	nr->cmd = 0;
! 	nr->param_1 = 0;
! 	nr->param_2 = 0;
  	nr->cmd_length = 0;
  	nr->sysex_data = NULL;





More information about the Scummvm-git-logs mailing list