From: <sag...@us...> - 2014-12-06 18:57:04
|
Revision: 4635 http://sourceforge.net/p/modplug/code/4635 Author: saga-games Date: 2014-12-06 18:56:49 +0000 (Sat, 06 Dec 2014) Log Message: ----------- [Mod] Plugin Bridge: Default to sharing the plugin bridge between all instances of a plugin. This can greatly speed up loading the same plugin several times. If a plugin crashes a lot, it can still be isolated into its own process, though. [Mod] OpenMPT: Version is now 1.24.00.20 Modified Paths: -------------- trunk/OpenMPT/common/versionNumber.h trunk/OpenMPT/mptrack/Vstplug.h Modified: trunk/OpenMPT/common/versionNumber.h =================================================================== --- trunk/OpenMPT/common/versionNumber.h 2014-12-06 17:17:11 UTC (rev 4634) +++ trunk/OpenMPT/common/versionNumber.h 2014-12-06 18:56:49 UTC (rev 4635) @@ -19,7 +19,7 @@ #define VER_MAJORMAJOR 1 #define VER_MAJOR 24 #define VER_MINOR 00 -#define VER_MINORMINOR 19 +#define VER_MINORMINOR 20 //Version string. For example "1.17.02.28" #define MPT_VERSION_STR VER_STRINGIZE(VER_MAJORMAJOR) "." VER_STRINGIZE(VER_MAJOR) "." VER_STRINGIZE(VER_MINOR) "." VER_STRINGIZE(VER_MINORMINOR) Modified: trunk/OpenMPT/mptrack/Vstplug.h =================================================================== --- trunk/OpenMPT/mptrack/Vstplug.h 2014-12-06 17:17:11 UTC (rev 4634) +++ trunk/OpenMPT/mptrack/Vstplug.h 2014-12-06 18:56:49 UTC (rev 4635) @@ -75,7 +75,7 @@ libraryName(libraryName), dllPath(dllPath), pluginId1(0), pluginId2(0), category(catUnknown), - isInstrument(false), useBridge(false), shareBridgeInstance(false), + isInstrument(false), useBridge(false), shareBridgeInstance(true), dllBits(0) { } @@ -108,14 +108,8 @@ isInstrument = true; category = catSynth; } - if(flags & 0x100) - { - useBridge = true; - } - if(flags & 0x200) - { - shareBridgeInstance = true; - } + useBridge = (flags & 0x100) != 0; + shareBridgeInstance = (flags & 0x200) != 0; dllBits = ((flags >> 10) & 0x3F) * 8; } }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |