dev152 - sample map notes, part 1
This commit is contained in:
parent
0151fff2d4
commit
99d2199db6
32 changed files with 154 additions and 55 deletions
|
|
@ -2098,6 +2098,12 @@ void DivInstrument::readFeatureSM(SafeReader& reader, short version) {
|
|||
amiga.noteMap[note].freq=reader.readS();
|
||||
amiga.noteMap[note].map=reader.readS();
|
||||
}
|
||||
|
||||
if (version<152) {
|
||||
for (int note=0; note<120; note++) {
|
||||
amiga.noteMap[note].freq=note;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
READ_FEAT_END;
|
||||
|
|
@ -2965,6 +2971,12 @@ DivDataErrors DivInstrument::readInsDataOld(SafeReader &reader, short version) {
|
|||
for (int note=0; note<120; note++) {
|
||||
amiga.noteMap[note].map=reader.readS();
|
||||
}
|
||||
|
||||
if (version<152) {
|
||||
for (int note=0; note<120; note++) {
|
||||
amiga.noteMap[note].freq=note;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue