Rewire the MIDI subsystem to use drivers selecting from the commandline.
No -DTIMIDITY, etc! Yippie!. Also updated readme. svn-id: r3743
This commit is contained in:
parent
ebb30d33b5
commit
d0c6bc8f20
10 changed files with 456 additions and 309 deletions
|
@ -150,9 +150,12 @@ void SoundEngine::unlock() {
|
|||
}
|
||||
|
||||
byte *SoundEngine::findTag(int sound, char *tag, int index) {
|
||||
byte *ptr = _base_sounds[sound];
|
||||
byte *ptr = NULL;
|
||||
int32 size,pos;
|
||||
|
||||
if (_base_sounds)
|
||||
ptr = _base_sounds[sound];
|
||||
|
||||
if (ptr==NULL) {
|
||||
debug(1, "SoundEngine::findTag completely failed finding sound %d", sound);
|
||||
return 0;
|
||||
|
@ -921,7 +924,7 @@ int SoundEngine::initialize(Scumm *scumm, SoundDriver *driver) {
|
|||
_s = scumm;
|
||||
|
||||
_driver = (SOUND_DRIVER_TYPE*)driver;
|
||||
|
||||
|
||||
_master_volume = 127;
|
||||
if (_music_volume < 1) _music_volume = 60;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue