mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 03:14:45 +00:00
Cleanup
This commit is contained in:
parent
31d42b439b
commit
45f85273e9
1 changed files with 2 additions and 1 deletions
|
@ -43,10 +43,11 @@ void InstrumentBankManager::SetData(const uint8_t *data, size_t size, Type type)
|
||||||
fileName.clear();
|
fileName.clear();
|
||||||
location = Location::Memory;
|
location = Location::Memory;
|
||||||
this->data.assign(data, data + size);
|
this->data.assign(data, data + size);
|
||||||
this->type = type;
|
|
||||||
|
|
||||||
if (type == Type::Primesynth)
|
if (type == Type::Primesynth)
|
||||||
this->type = Type::TinySoundFont; // primesynth cannot load soundfonts from memory
|
this->type = Type::TinySoundFont; // primesynth cannot load soundfonts from memory
|
||||||
|
else
|
||||||
|
this->type = type;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue