aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Novichkov <Wohlstand@users.noreply.github.com>2019-06-02 23:50:35 +0300
committerGitHub <noreply@github.com>2019-06-02 23:50:35 +0300
commitbd3737821587a9e719015e14e4f089df32d1daf2 (patch)
tree222fe7e082263b81a096a4c35250a98348e0368f
parentee47eea8812c425bae364d8c249490a7db94af4c (diff)
parenta1a735b678051d8d973df8ef14944c597d0e3e07 (diff)
downloadlibADLMIDI-bd3737821587a9e719015e14e4f089df32d1daf2.tar.gz
libADLMIDI-bd3737821587a9e719015e14e4f089df32d1daf2.tar.bz2
libADLMIDI-bd3737821587a9e719015e14e4f089df32d1daf2.zip
Merge pull request #221 from mmontag/patch-1
Update emulators enabled check
-rw-r--r--src/adlmidi_opl3.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/adlmidi_opl3.cpp b/src/adlmidi_opl3.cpp
index a7bffc3..0df9d4d 100644
--- a/src/adlmidi_opl3.cpp
+++ b/src/adlmidi_opl3.cpp
@@ -29,7 +29,10 @@
#ifdef ADLMIDI_HW_OPL
static const unsigned OPLBase = 0x388;
#else
-# if defined(ADLMIDI_DISABLE_NUKED_EMULATOR) && defined(ADLMIDI_DISABLE_DOSBOX_EMULATOR)
+# if defined(ADLMIDI_DISABLE_NUKED_EMULATOR) && \
+ defined(ADLMIDI_DISABLE_DOSBOX_EMULATOR) && \
+ defined(ADLMIDI_DISABLE_OPAL_EMULATOR) && \
+ defined(ADLMIDI_DISABLE_JAVA_EMULATOR)
# error "No emulators enabled. You must enable at least one emulator to use this library!"
# endif