aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorWohlstand <admin@wohlnet.ru>2023-05-26 03:43:01 +0300
committerWohlstand <admin@wohlnet.ru>2023-05-26 03:43:01 +0300
commitf742d3eca4a72af940da7399d69e0b93c0d981f5 (patch)
treefccc624aa1b1dfcf3bed4bce09e7fead94f8946a /CMakeLists.txt
parentd9f55120fb939b3b45af8929ad09243b3b09c08e (diff)
downloadlibADLMIDI-f742d3eca4a72af940da7399d69e0b93c0d981f5.tar.gz
libADLMIDI-f742d3eca4a72af940da7399d69e0b93c0d981f5.tar.bz2
libADLMIDI-f742d3eca4a72af940da7399d69e0b93c0d981f5.zip
Opal: Convert entire Opal code into the Pure C
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d63f35f..c4a02fb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -271,6 +271,7 @@ function(handle_options targetLib)
set(HAS_EMULATOR TRUE)
target_sources(${targetLib} PRIVATE
${libADLMIDI_SOURCE_DIR}/src/chips/opal_opl3.cpp
+ ${libADLMIDI_SOURCE_DIR}/src/chips/opal/opal.c
)
else()
target_compile_definitions(${targetLib} PUBLIC ADLMIDI_DISABLE_OPAL_EMULATOR)
@@ -343,7 +344,7 @@ file(GLOB libADLMIDI_HEADERS
${libADLMIDI_SOURCE_DIR}/src/chips/dosbox/*.h
${libADLMIDI_SOURCE_DIR}/src/chips/java/*.hpp
${libADLMIDI_SOURCE_DIR}/src/chips/nuked/*.h
- ${libADLMIDI_SOURCE_DIR}/src/chips/opal/*.hpp
+ ${libADLMIDI_SOURCE_DIR}/src/chips/opal/*.h
)
list(APPEND libADLMIDI_SOURCES ${libADLMIDI_HEADERS})