aboutsummaryrefslogtreecommitdiff
path: root/src/adlmidi_private.cpp
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2017-11-07 01:12:01 +0300
committerWohlstand <admin@wohlnet.ru>2017-11-07 01:12:01 +0300
commit22350acc1f699f70cbdac6b5facadd0d6ccc8a7f (patch)
treefe8f64c337d484f723af25c20fe1e0d264e39e5c /src/adlmidi_private.cpp
parentc71f0d4dfe52a523b37416717299700e203f818d (diff)
downloadlibADLMIDI-22350acc1f699f70cbdac6b5facadd0d6ccc8a7f.tar.gz
libADLMIDI-22350acc1f699f70cbdac6b5facadd0d6ccc8a7f.tar.bz2
libADLMIDI-22350acc1f699f70cbdac6b5facadd0d6ccc8a7f.zip
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.
Diffstat (limited to 'src/adlmidi_private.cpp')
-rw-r--r--src/adlmidi_private.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}