mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 03:56:20 +00:00
AGOS: SIMON2: set nativeMT32, so mt32 tracks get
set _nativeMT32, so that the MT32 XMIDI track set is getting used and not the general MIDI one for MT32 Miles Audio playback. This should solve the MT32 music issues, although this needs to get verified in detail.
This commit is contained in:
parent
b38c161c18
commit
710aeb380b
@ -109,6 +109,10 @@ int MidiPlayer::open(int gameType, bool isDemo) {
|
||||
case GType_SIMON2:
|
||||
//_musicMode = kMusicModeMilesAudio;
|
||||
// currently disabled, because there are a few issues
|
||||
// MT32 seems to work fine now, AdLib seems to use bad instruments and is also outputting music on
|
||||
// the right speaker only. The original driver did initialize the panning to 0 and the Simon2 XMIDI
|
||||
// tracks don't set panning at all. We can reset panning to be centered, which would solve this
|
||||
// issue, but we still don't know who's setting it in the original interpreter.
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
@ -370,15 +374,19 @@ int MidiPlayer::open(int gameType, bool isDemo) {
|
||||
switch (milesAudioMusicType) {
|
||||
case MT_ADLIB: {
|
||||
_driver = Audio::MidiDriver_Miles_AdLib_create("MIDPAK.AD", "MIDPAK.AD");
|
||||
// TODO: not sure what's going wrong with AdLib
|
||||
// it doesn't seem to matter if we use the regular XMIDI tracks or the 2nd set meant for MT32
|
||||
break;
|
||||
}
|
||||
case MT_MT32:
|
||||
_driver = Audio::MidiDriver_Miles_MT32_create("");
|
||||
_nativeMT32 = true; // use 2nd set of XMIDI tracks
|
||||
break;
|
||||
case MT_GM:
|
||||
if (ConfMan.getBool("native_mt32")) {
|
||||
_driver = Audio::MidiDriver_Miles_MT32_create("");
|
||||
milesAudioMusicType = MT_MT32;
|
||||
_nativeMT32 = true; // use 2nd set of XMIDI tracks
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user