diff --git a/src/kernel.cpp b/src/kernel.cpp index 896593a..717fdaa 100644 --- a/src/kernel.cpp +++ b/src/kernel.cpp @@ -38,7 +38,10 @@ bool CKernel::Initialize (void) return FALSE; } - m_Dexed.activate(); + if (!m_Dexed.Initialize ()) + { + return FALSE; + } return TRUE; } @@ -47,8 +50,6 @@ CStdlibApp::TShutdownMode CKernel::Run (void) { std::cout << "Hello MiniDexed!\n"; - m_Dexed.Start (); - std::cout << "Loading hardcoded fmpiano_sysex...\n"; m_Dexed.loadVoiceParameters(fmpiano_sysex); m_Dexed.setTranspose(24);