diff options
author | Travis Howell | 2006-03-05 05:43:46 +0000 |
---|---|---|
committer | Travis Howell | 2006-03-05 05:43:46 +0000 |
commit | 429f7d43d6a98f36f5942ca612eeaf7c17dc577e (patch) | |
tree | b9ef6507841d05beb5da6f4a662c466e1712b183 | |
parent | b1f7f32ed14a1dcddaaafa2dd4857b7a5722b214 (diff) | |
download | scummvm-rg350-429f7d43d6a98f36f5942ca612eeaf7c17dc577e.tar.gz scummvm-rg350-429f7d43d6a98f36f5942ca612eeaf7c17dc577e.tar.bz2 scummvm-rg350-429f7d43d6a98f36f5942ca612eeaf7c17dc577e.zip |
Fix compiler warnings
svn-id: r21086
-rw-r--r-- | engines/scumm/imuse/imuse.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/scumm/imuse/imuse.cpp b/engines/scumm/imuse/imuse.cpp index 2857cb6c07..bed0a7a45d 100644 --- a/engines/scumm/imuse/imuse.cpp +++ b/engines/scumm/imuse/imuse.cpp @@ -662,7 +662,7 @@ int IMuseInternal::terminate2() { if (_midi_native) { if (_native_mt32) { // Reset the MT-32 - _midi_native->sysEx((byte *) "\x41\x10\x16\x12\x7f\x00\x00\x01\x00", 9); + _midi_native->sysEx((const byte *) "\x41\x10\x16\x12\x7f\x00\x00\x01\x00", 9); g_system->delayMillis(250); } @@ -1240,16 +1240,16 @@ void IMuseInternal::initMT32(MidiDriver *midi) { int len; // Reset the MT-32 - midi->sysEx((byte *) "\x41\x10\x16\x12\x7f\x00\x00\x01\x00", 9); + midi->sysEx((const byte *) "\x41\x10\x16\x12\x7f\x00\x00\x01\x00", 9); g_system->delayMillis(250); // Setup master tune, reverb mode, reverb time, reverb level, // channel mapping, partial reserve and master volume - midi->sysEx((byte *) "\x41\x10\x16\x12\x10\x00\x00\x40\x00\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x64\x77", 31); + midi->sysEx((const byte *) "\x41\x10\x16\x12\x10\x00\x00\x40\x00\x04\x04\x04\x04\x04\x04\x04\x04\x04\x04\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x64\x77", 31); g_system->delayMillis(250); // Map percussion to notes 24 - 34 without reverb - midi->sysEx((byte *) "\x41\x10\x16\x12\x03\x01\x10\x40\x64\x07\x00\x4a\x64\x06\x00\x41\x64\x07\x00\x4b\x64\x08\x00\x45\x64\x06\x00\x44\x64\x0b\x00\x51\x64\x05\x00\x43\x64\x08\x00\x50\x64\x07\x00\x42\x64\x03\x00\x4c\x64\x07\x00\x44", 52); + midi->sysEx((const byte *) "\x41\x10\x16\x12\x03\x01\x10\x40\x64\x07\x00\x4a\x64\x06\x00\x41\x64\x07\x00\x4b\x64\x08\x00\x45\x64\x06\x00\x44\x64\x0b\x00\x51\x64\x05\x00\x43\x64\x08\x00\x50\x64\x07\x00\x42\x64\x03\x00\x4c\x64\x07\x00\x44", 52); g_system->delayMillis(250); // Compute version string (truncated to 20 chars max.) |