First commit of the OPL2 MIDI driver (to have MIDI music without

requiring any OS-level MIDI support).

This was taken from AdPlug.

This is *very* buggy for now (well, it works, but it sounds just plain
ugly :-) ).

svn-id: r4232
This commit is contained in:
Lionel Ulmer 2002-05-07 22:07:28 +00:00
parent da3ada1815
commit dd3129b882
4 changed files with 473 additions and 3 deletions

View file

@ -1398,6 +1398,9 @@ Scumm *Scumm::createFromDetector(GameDetector *detector, OSystem *syst)
}
scumm->_mixer->set_volume(128);
/* HACK !!! */
g_scumm = scumm;
/* END HACK */
scumm->_fullScreen = detector->_fullScreen;
scumm->_debugMode = detector->_debugMode;