[Scummvm-cvs-logs] CVS: scummvm/sound midiparser_smf.cpp,1.4,1.5
Max Horn
fingolfin at users.sourceforge.net
Mon May 19 02:05:06 CEST 2003
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.51,1.52
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon items.cpp,1.58,1.59 simon.cpp,1.184,1.185 simon.h,1.57,1.58 vga.cpp,1.39,1.40
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sound
In directory sc8-pr-cvs1:/tmp/cvs-serv988/sound
Modified Files:
midiparser_smf.cpp
Log Message:
fix shadow warning; removed unused var
Index: midiparser_smf.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sound/midiparser_smf.cpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- midiparser_smf.cpp 19 May 2003 05:00:13 -0000 1.4
+++ midiparser_smf.cpp 19 May 2003 09:04:50 -0000 1.5
@@ -102,8 +102,8 @@
free (_buffer);
}
-void MidiParser_SMF::property (int property, int value) {
- switch (property) {
+void MidiParser_SMF::property (int prop, int value) {
+ switch (prop) {
case mpMalformedPitchBends:
_malformedPitchBends = (value > 0);
}
@@ -533,7 +533,6 @@
} while (_malformedPitchBends && (event & 0xF0) == 0xE0 && _play_pos++);
_running_status = event;
- byte bytes_to_skip = 0;
if (command_lengths[(event >> 4) - 8] > 0) {
_play_pos += command_lengths[(event >> 4) - 8];
} else if (special_lengths[event & 0xF] > 0) {
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/scumm akos.cpp,1.51,1.52
- Next message: [Scummvm-cvs-logs] CVS: scummvm/simon items.cpp,1.58,1.59 simon.cpp,1.184,1.185 simon.h,1.57,1.58 vga.cpp,1.39,1.40
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list