From fa7c48957e9f48a4a685bd5c153c8f345a1e43bd Mon Sep 17 00:00:00 2001 From: Oli Larkin Date: Fri, 20 May 2016 17:32:06 +0100 Subject: [PATCH] fxp loading doesn't test numparams --- WDL/IPlug/IPlugBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WDL/IPlug/IPlugBase.cpp b/WDL/IPlug/IPlugBase.cpp index 7b0a5239..3adc5906 100644 --- a/WDL/IPlug/IPlugBase.cpp +++ b/WDL/IPlug/IPlugBase.cpp @@ -1327,7 +1327,7 @@ bool IPlugBase::LoadProgramFromFXP(WDL_String* fileName) if (fxpVersion != kFXPVersionNum) return false; // TODO: what if a host saves as a different version? if (pluginID != GetUniqueID()) return false; //if (pluginVersion != GetEffectVersion(true)) return false; // TODO: provide mechanism for loading earlier versions - if (numParams != NParams()) return false; // TODO: provide mechanism for loading earlier versions with less params + //if (numParams != NParams()) return false; // TODO: provide mechanism for loading earlier versions with less params if (DoesStateChunks() && fxpMagic == 'FPCh') { -- 2.11.4.GIT