mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 20:17:49 +00:00
SHERLOCK: RT: Miles AdLib: circular phys. assign
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)
This commit is contained in:
parent
258b5adb9a
commit
c167a293ab
@ -255,7 +255,8 @@ MidiDriver_Miles_AdLib::MidiDriver_Miles_AdLib(Audio::Mixer *mixer, InstrumentEn
|
||||
// Older Miles Audio drivers did not do a circular assign for physical FM-voices
|
||||
// Sherlock Holmes 2 used the circular assign
|
||||
circularPhysicalAssignment = true;
|
||||
circularPhysicalAssignmentFmVoice = 255;
|
||||
// this way the first circular physical FM-voice search will start at FM-voice 0
|
||||
circularPhysicalAssignmentFmVoice = SHERLOCK_MILES_ADLIB_PHYSICAL_FMVOICES_COUNT;
|
||||
|
||||
resetData();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user