From bac0e417a47865102cee9ce1f1a31fd205bc792e Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Wed, 13 Feb 2019 15:19:47 +0100 Subject: [PATCH] Fixed engine compile-time-selection. Now you can set DEXED_ENGINE in config.h --- config.h | 3 ++- dexed.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index 8e2bab3..be81ff4 100644 --- a/config.h +++ b/config.h @@ -59,7 +59,8 @@ //************************************************************************************************* //* DEXED AND EFECTS SETTINGS //************************************************************************************************* -//#define DEXED_ENGINE DEXED_ENGINE_MODERN +#define DEXED_ENGINE DEXED_ENGINE_MODERN # DEXED_ENGINE_MARKI // DEXED_ENGINE_OPL + // EFFECTS #define FILTER_MAX_FREQ 10000 diff --git a/dexed.cpp b/dexed.cpp index 7d8ab51..61464c3 100644 --- a/dexed.cpp +++ b/dexed.cpp @@ -76,7 +76,7 @@ Dexed::Dexed(int rate) sustain = false; - setEngineType(DEXED_ENGINE_MODERN); + setEngineType(DEXED_ENGINE); } Dexed::~Dexed()