Ticket #8546: adlib-sfx.diff

File adlib-sfx.diff, 458 bytes (added by eriktorbjorn, 18 years ago)

Patch against current SVN

  • engines/scumm/sound.cpp

     
    19521952                                                | current_instr[ch][0];
    19531953                                        if (!freq)
    19541954                                                freq = 0x80;
    1955                                         freq <<= ((current_instr[ch][1] >> 2) & 7) + 1;
     1955                                        freq <<= (((current_instr[ch][1] >> 2) + 1) & 7);
    19561956                                        int note = -11;
    19571957                                        while (freq >= 0x100) {
    19581958                                                note += 12;