- NOTE: 4-op voices not supported atm (not used in Sherlock Holmes 2)
- support for up to 18 physical FM voices
- support for hard-left + hard-right stereo
- defaults to OPL3
- added comment about Miles Audio driver capabilities
- fixed checking notes for percussion channel, fixes some notes
missing during intro music
- remove currentA0hReg from PhysicalFmVoiceEntry struct, wasn't used
- moved setting virtual FM-voice in-use flag inside releaseFmVoice()
circular physical assignment of FM-voices
- removed hardcoded value, that made it search from FM-voice 0
and replaced it with the total number of physical FM-voices
this makes it easier to understand the code
- added comment about why this is set (starting search at FM-voice 0)
implements circular physical assignment of FM-voices,
which was enabled for Rose Tattoo.
This is not really needed, but by implementing it assigned
physical FM-voices should exactly match the original driver.
- renamed _MT32 to _nativeMT32
this name doesn't really make sense, because MUNT isn't a native
MT32, but the name is common to the other engines
- implement MT32 -> General MIDI mapping in case no MT32 is
available
- implement dialog screen, so that user is told about General MIDI
mapping and that it may sound awful
- Kirben told me that Elvira 2 is shipped with MUSIC.DRV and
INSTR.DAT file. Using MUSIC.DRV file makes the music work properly
I couldn't check, b/c I own none of these games.
- also commented out implemented bug of INSTR.DAT/MUSIC.DRV
This bug only affected the adlib drivers, so I guess we should
rather fix it instead of implementing the same buggy behavior
- both known variants are supported (INSTR.DAT + MUSIC.DRV)
- INSTR.DAT/MUSIC.DRV holds channel mapping, instrument mapping, etc.
- fixed bug inside S1D MidiParser, that ruined some instrument changes
0xFC header was seen as 2 byte header, but it's 4 bytes in Elvira 2
and 5 bytes in Waxworks / Simon 1 demo
- dynamic channel allocation for the MUSIC.DRV adlib driver is not
implemented atm, simply because at least the demos of Waxworks and
Simon 1 do not use this feature
- sound effects of Waxworks are not implemented atm
- note: the game "Altered Destiny" uses Accolade INSTR.DAT variant too