mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-19 21:25:11 +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();
|
||||
location = Location::Memory;
|
||||
this->data.assign(data, data + size);
|
||||
this->type = type;
|
||||
|
||||
if (type == Type::Primesynth)
|
||||
this->type = Type::TinySoundFont; // primesynth cannot load soundfonts from memory
|
||||
else
|
||||
this->type = type;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue