Change some comments to use "AdLib" instead of "adlib".

svn-id: r47534
This commit is contained in:
Johannes Schickel 2010-01-25 00:39:46 +00:00
parent c48076ea9c
commit bfcdbae648
5 changed files with 7 additions and 7 deletions

View File

@ -226,8 +226,8 @@ void SoundManager::addSound(uint8 soundIndex, bool tidyFlag) {
if (_isRoland)
newEntry->volume = rec.volume;
else /* resource volumes do not seem to work well with our adlib emu */
newEntry->volume = 240; /* 255 causes clipping with adlib */
else /* resource volumes do not seem to work well with our AdLib emu */
newEntry->volume = 240; /* 255 causes clipping with AdLib */
_activeSounds.push_back(SoundList::value_type(newEntry));

View File

@ -311,7 +311,7 @@ void MidiDriver_AdLib::send(uint32 b) {
case 0xc0:
_channels[channel].patch = op1;
break;
// The original adlib driver from sierra ignores aftertouch completely, so should we
// The original AdLib driver from sierra ignores aftertouch completely, so should we
case 0xa0: // Polyphonic key pressure (aftertouch)
case 0xd0: // Channel pressure (aftertouch)
break;
@ -790,7 +790,7 @@ int MidiPlayer_AdLib::open(ResourceManager *resMan) {
if (res) {
ok = static_cast<MidiDriver_AdLib *>(_driver)->loadResource(res->data, res->size);
} else {
// Early SCI0 games have the sound bank embedded in the adlib driver
// Early SCI0 games have the sound bank embedded in the AdLib driver
Common::File f;

View File

@ -340,7 +340,7 @@ int BaseSongIterator::parseMidiCommand(byte *buf, int *result, SongIteratorChann
}
case 0x04: /* UNKNOWN NYI (happens in LSL2 gameshow) */
case 0x46: /* UNKNOWN NYI (happens in LSL3 binoculars) */
case 0x61: /* UNKNOWN NYI (special for adlib? Iceman) */
case 0x61: /* UNKNOWN NYI (special for AdLib? Iceman) */
case 0x73: /* UNKNOWN NYI (happens in Hoyle) */
case 0xd1: /* UNKNOWN NYI (happens in KQ4 when riding the unicorn) */
return /* Execute next command */

View File

@ -78,7 +78,7 @@ int AdLibMusic::readBuffer(int16 *data, const int numSamples) {
void AdLibMusic::setupPointers() {
if (SkyEngine::_systemVars.gameVersion == 109) {
// disk demo uses a different adlib driver version, some offsets have changed
// disk demo uses a different AdLib driver version, some offsets have changed
//_musicDataLoc = (_musicData[0x11CC] << 8) | _musicData[0x11CB];
//_initSequence = _musicData + 0xEC8;

View File

@ -83,7 +83,7 @@ static const MidiDriverDescription s_musicDrivers[] = {
{"mt32", "MT-32 Emulation", MD_MT32, MDT_MIDI},
#endif
// The flags for the "adlib" driver indicates that it can do adlib and MIDI.
// The flags for the "adlib" driver indicates that it can do AdLib and MIDI.
{"adlib", "AdLib", MD_ADLIB, MDT_ADLIB},
{"pcspk", "PC Speaker", MD_PCSPK, MDT_PCSPK},
{"pcjr", "IBM PCjr", MD_PCJR, MDT_PCSPK},