Ticket #9054: ww_music.patch

File ww_music.patch, 1.1 KB (added by SF/tafuri, 13 years ago)

SVN Diff (patch)

  • engines/agos/midiparser_s1d.cpp

     
    126126                switch (info.event & 0x0F) {
    127127                case 0x0:
    128128                        // Trigged by MOD2/MOD6/MOD15 in Waxworks
     129                        // Pure guesswork
     130                        info.ext.type = *(_position._play_pos++);
     131                        info.length = readVLQ(_position._play_pos);
     132                        info.ext.data = _position._play_pos;
    129133                        break;
    130134
    131135                case 0x3: // Not sure, Song Select?
  • engines/agos/res_snd.cpp

     
    285285void AGOSEngine::playMusic(uint16 music, uint16 track) {
    286286        stopMusic();
    287287
    288         // FIXME: Music too unstable, when switching locations.
    289         if (getPlatform() == Common::kPlatformPC && getGameType() == GType_WW)
    290                 return;
    291 
    292288        if (getPlatform() == Common::kPlatformAmiga) {
    293289                playModule(music);
    294290        } else if (getPlatform() == Common::kPlatformAtariST) {