Changed initialisation order for PerformanceSelectChannel to avoid asset problem on a Pi 4 and updated menu text to fit nicely on a HD44780 display.

pull/500/head
Kevin 2 years ago
parent 444b7ce917
commit 94ada57e1e
  1. 4
      src/minidexed.cpp
  2. 2
      src/uimenu.cpp

@ -58,8 +58,6 @@ CMiniDexed::CMiniDexed (CConfig *pConfig, CInterruptSystem *pInterrupt,
{
assert (m_pConfig);
SetPerformanceSelectChannel(m_pConfig->GetPerformanceSelectChannel());
for (unsigned i = 0; i < CConfig::ToneGenerators; i++)
{
m_nVoiceBankID[i] = 0;
@ -161,6 +159,8 @@ CMiniDexed::CMiniDexed (CConfig *pConfig, CInterruptSystem *pInterrupt,
// END setup reverb
SetParameter (ParameterCompressorEnable, 1);
SetPerformanceSelectChannel(m_pConfig->GetPerformanceSelectChannel());
};
bool CMiniDexed::Initialize (void)

@ -326,7 +326,7 @@ const CUIMenu::TMenuItem CUIMenu::s_PerformanceMenu[] =
{"Load", PerformanceMenu, 0, 0},
{"Save", MenuHandler, s_SaveMenu},
{"Delete", PerformanceMenu, 0, 1},
{"MIDI PC", EditGlobalParameter, 0, CMiniDexed::ParameterPerformanceSelectChannel},
{"PCCH", EditGlobalParameter, 0, CMiniDexed::ParameterPerformanceSelectChannel},
{0}
};

Loading…
Cancel
Save