From 22350acc1f699f70cbdac6b5facadd0d6ccc8a7f Mon Sep 17 00:00:00 2001 From: Wohlstand Date: Tue, 7 Nov 2017 01:12:01 +0300 Subject: New API, classic ADLMIDI, and CMake - Attempt to support hardware OPL and add build of classic ADLMIDI into CMake - Added new API functions - Added C++ Extras are needed for classic ADLMIDI player - Error string is no more static. Static variant is kept for initialization errors only. --- src/adlmidi_private.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/adlmidi_private.cpp') diff --git a/src/adlmidi_private.cpp b/src/adlmidi_private.cpp index 04bb481..f13aa8c 100644 --- a/src/adlmidi_private.cpp +++ b/src/adlmidi_private.cpp @@ -65,9 +65,9 @@ int adlRefreshNumCards(ADL_MIDIPlayer *device) if(n_fourop[0] >= n_total[0] * 15 / 16 && play->m_setup.NumFourOps == 0) { - ADLMIDI_ErrorString = "ERROR: You have selected a bank that consists almost exclusively of four-op patches.\n" + play->setErrorString("ERROR: You have selected a bank that consists almost exclusively of four-op patches.\n" " The results (silence + much cpu load) would be probably\n" - " not what you want, therefore ignoring the request.\n"; + " not what you want, therefore ignoring the request.\n"); return -1; } -- cgit v1.2.3