1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Xcode 4 assertion fix. VSTPluginFormat fix.

This commit is contained in:
jules 2011-11-28 10:56:46 +00:00
parent a45f14fbdf
commit 00f34cbe6c
3 changed files with 5 additions and 4 deletions

View file

@ -2902,8 +2902,8 @@ FileSearchPath VSTPluginFormat::getDefaultLocationsToSearch()
#elif JUCE_WINDOWS
const String programFiles (File::getSpecialLocation (File::globalApplicationsDirectory).getFullPathName());
return FileSearchPath (PlatformUtilities::getRegistryValue ("HKLM\\Software\\VST\\VSTPluginsPath",
programFiles + "\\Steinberg\\VstPlugins"));
return FileSearchPath (WindowsRegistry::getRegistryValue ("HKLM\\Software\\VST\\VSTPluginsPath",
programFiles + "\\Steinberg\\VstPlugins"));
#elif JUCE_LINUX
return FileSearchPath ("/usr/lib/vst");
#endif

View file

@ -66,7 +66,7 @@
on the platform.
@see jassert()
*/
#define juce_breakDebugger { Debugger(); }
#define juce_breakDebugger { assert (false); }
#elif JUCE_IOS || JUCE_LINUX || JUCE_ANDROID
#define juce_breakDebugger { kill (0, SIGTRAP); }
#elif JUCE_USE_INTRINSICS

View file

@ -132,7 +132,8 @@ public:
/** Checks whether multiple instances of the app are allowed.
If you application class returns true for this, more than one instance is
permitted to run (except on the Mac where this isn't possible).
permitted to run (except on OSX where the OS automatically stops you launching
a second instance of an app without explicitly starting it from the command-line).
If it's false, the second instance won't start, but it you will still get a
callback to anotherInstanceStarted() to tell you about this - which