Attempt to fix a blank banks list of ADLMIDI

That happen because of silly dependency on soundfonts list which is totally unneeded to ADLMIDI as it uses embedded banks or external banks in a different format.
https://forum.zdoom.org/viewtopic.php?f=104&t=59997&p=1047184
This commit is contained in:
Vitaly Novichkov 2018-03-30 02:09:15 +03:00 committed by Rachael Alexanderson
parent b952653303
commit 74c5bab075

View file

@ -1428,10 +1428,10 @@ static void InitMusicMenus()
DMenuDescriptor **menu = MenuDescriptors.CheckKey("ADLBankMenu");
if (menu != nullptr)
{
if (soundfonts.Size() > 0)
{
int adl_banks_count = adl_getBanksCount();
if (adl_banks_count > 0)
{
const char *const *adl_bank_names = adl_getBankNames();
for (int i=0; i < adl_banks_count; i++)
{