From 28b6bbc4ddc153632635858b7505e3bfc828cbc2 Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 6 Jul 2022 16:55:06 +0100 Subject: [PATCH] Ildaeil: Ignore missing carla and set jsfx path on wasm builds Signed-off-by: falkTX --- plugins/Cardinal/src/Ildaeil.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/Cardinal/src/Ildaeil.cpp b/plugins/Cardinal/src/Ildaeil.cpp index 46c091e..112b476 100644 --- a/plugins/Cardinal/src/Ildaeil.cpp +++ b/plugins/Cardinal/src/Ildaeil.cpp @@ -122,6 +122,8 @@ static const char* getPathForJSFX() { #if defined(CARLA_OS_MAC) path = homeDir() + "/Library/Application Support/REAPER/Effects"; + #elif defined(CARLA_OS_WASM) + path = "/jsfx"; #elif defined(CARLA_OS_WIN) path = getSpecialPath(kSpecialPathAppData) + "\\REAPER\\Effects"; if (! system::exists(path)) @@ -254,6 +256,9 @@ struct IldaeilModule : Module { carla_set_engine_option(fCarlaHostHandle, ENGINE_OPTION_PATH_BINARIES, 0, "/Applications/Carla.app/Contents/MacOS"); carla_set_engine_option(fCarlaHostHandle, ENGINE_OPTION_PATH_RESOURCES, 0, "/Applications/Carla.app/Contents/MacOS/resources"); } +#elif defined(CARLA_OS_WASM) + if (true) + {} #elif defined(CARLA_OS_WIN) const std::string winBinaryDir = system::join(asset::systemDir, "Carla");