Merge branch 'master' of https://github.com/tildearrow/furnace into k053260
This commit is contained in:
commit
548aa5e6ac
56 changed files with 818 additions and 179 deletions
|
|
@ -214,7 +214,6 @@ bool DivInstrumentSNES::operator==(const DivInstrumentSNES& other) {
|
|||
#undef _C
|
||||
|
||||
#define FEATURE_BEGIN(x) \
|
||||
logV("- %s",x); \
|
||||
w->write(x,2); \
|
||||
size_t featStartSeek=w->tell(); \
|
||||
w->writeS(0);
|
||||
|
|
@ -2103,6 +2102,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;
|
||||
|
|
@ -2970,6 +2975,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