diff options
author | Lars Persson | 2005-06-21 22:08:21 +0000 |
---|---|---|
committer | Lars Persson | 2005-06-21 22:08:21 +0000 |
commit | 1c69696a9a8878971c4fa925b074498dab757857 (patch) | |
tree | d8f4f2cfea1a3e01bb7f5f5c58fb812d8029ca96 /scumm/imuse.cpp | |
parent | 4564f0d3bf0d40f5a2ca125df0682969adc8431c (diff) | |
download | scummvm-rg350-1c69696a9a8878971c4fa925b074498dab757857.tar.gz scummvm-rg350-1c69696a9a8878971c4fa925b074498dab757857.tar.bz2 scummvm-rg350-1c69696a9a8878971c4fa925b074498dab757857.zip |
Patches needed to build for SYMBIAN32 WINS/GCC added.
Test built for Symbian and run on P910i without any major problems.
Test built for MSVC6. Changed parts seems to compile ok but there are some problems with MSVC6 and some of the targets which the EPOC build does n't support (KYRA,SAGA).
svn-id: r18430
Diffstat (limited to 'scumm/imuse.cpp')
-rw-r--r-- | scumm/imuse.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/imuse.cpp b/scumm/imuse.cpp index a06395b064..a27db42e00 100644 --- a/scumm/imuse.cpp +++ b/scumm/imuse.cpp @@ -1263,7 +1263,7 @@ void IMuseInternal::initMT32(MidiDriver *midi) { void IMuseInternal::initGM(MidiDriver *midi) { byte buffer[11]; - + int i=0; // General MIDI System On message // Resets all GM devices to default settings memcpy(&buffer[0], "\xF0\x7E\x7F\x09\x01\xF7", 6); @@ -1321,13 +1321,13 @@ void IMuseInternal::initGM(MidiDriver *midi) { // Set Channels 1-16 Reverb to 64, which is the // equivalent of MT-32 default Reverb Level 5 - for (int i = 0; i < 16; ++i) + for (i = 0; i < 16; ++i) midi->send(( 64 << 16) | (91 << 8) | (0xB0 | i)); debug(2, "GM Controller 91 Change: Channels 1-16 Reverb Level is 64"); // Set Channels 1-16 Pitch Bend Sensitivity to // 12 semitones; then lock the RPN by setting null. - for (int i = 0; i < 16; ++i) { + for (i = 0; i < 16; ++i) { midi->send(( 0 << 16) | (100 << 8) | (0xB0 | i)); midi->send(( 0 << 16) | (101 << 8) | (0xB0 | i)); midi->send(( 12 << 16) | (6 << 8) | (0xB0 | i)); |