Commit 02853687 authored by Anton Baskanov's avatar Anton Baskanov Committed by Alexandre Julliard

dmsynth: Fall back to the Standard drum set when there is no matching instrument or region.

parent f58bdd86
......@@ -1814,6 +1814,8 @@ static int synth_preset_noteon(fluid_preset_t *fluid_preset, fluid_synth_t *flui
EnterCriticalSection(&synth->cs);
find_region(synth, preset->bank, preset->patch, key, vel, &instrument, &region);
if (!region && preset->bank == 128)
find_region(synth, preset->bank, 0, key, vel, &instrument, &region);
if (!instrument)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment