Add more invalid generators for presets and instruments

Presets should not contain sampleid generators, instruments
should not contain instrument generators.
This commit is contained in:
Marcus Weseloh 2021-03-27 16:10:57 +01:00
parent 6b63c80d3d
commit 6ca9b21740
1 changed files with 2 additions and 0 deletions

View File

@ -121,6 +121,7 @@ static const unsigned short invalid_inst_gen[] =
GEN_RESERVED1,
GEN_RESERVED2,
GEN_RESERVED3,
GEN_INSTRUMENT,
};
static const unsigned short invalid_preset_gen[] =
@ -138,6 +139,7 @@ static const unsigned short invalid_preset_gen[] =
GEN_SAMPLEMODE,
GEN_EXCLUSIVECLASS,
GEN_OVERRIDEROOTKEY,
GEN_SAMPLEID,
};