[Scummvm-git-logs] scummvm master -> c5e532f1ada97624c7d5f4b5eccf73c88cf98609

sev- sev at scummvm.org
Sat Jul 25 11:20:31 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c5e532f1ad AUDIO: Fix warning


Commit: c5e532f1ada97624c7d5f4b5eccf73c88cf98609
    https://github.com/scummvm/scummvm/commit/c5e532f1ada97624c7d5f4b5eccf73c88cf98609
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-07-25T13:20:15+02:00

Commit Message:
AUDIO: Fix warning

Changed paths:
    audio/miles_midi.cpp


diff --git a/audio/miles_midi.cpp b/audio/miles_midi.cpp
index 5976835ea6..fb68762dbe 100644
--- a/audio/miles_midi.cpp
+++ b/audio/miles_midi.cpp
@@ -38,9 +38,11 @@ namespace Audio {
 
 #define MILES_MT32_SYSEX_TERMINATOR 0xFF
 
+/*
 const byte milesMT32SysExResetParameters[] = {
 	0x01, MILES_MT32_SYSEX_TERMINATOR
 };
+*/
 
 const byte milesMT32SysExChansSetup[] = {
 	0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, MILES_MT32_SYSEX_TERMINATOR
@@ -63,7 +65,7 @@ MidiDriver_Miles_Midi::MidiDriver_Miles_Midi(MusicType midiType, MilesMT32Instru
 		_baseFreq(250),
 		_timerRate(0),
 		_noteCounter(0),
-		_sysExDelay(0), 
+		_sysExDelay(0),
 		_timer_param(0),
 		_timer_proc(0) {
 	switch (midiType) {
@@ -387,7 +389,7 @@ void MidiDriver_Miles_Midi::send(int8 source, uint32 b) {
 	case 0xe0: // pitch bend change
 		if (command == 0xe0)
 			controlData.pitchWheel = ((uint16)op2 << 7) | (uint16)op1;
-		
+
 		_noteCounter++;
 		if (controlData.usingCustomTimbre) {
 			// Remember that this timbre got used now




More information about the Scummvm-git-logs mailing list