diff --git a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp index 4ecfa70332..5ccc777f76 100644 --- a/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/VST3/juce_VST3_Wrapper.cpp @@ -1385,10 +1385,12 @@ public: FUnknownPtr stateRefHolder (state); // just in case the caller hasn't properly ref-counted the stream object if (state->seek (0, IBStream::kIBSeekSet, nullptr) == kResultTrue) - if (getHostType().isFruityLoops()) - return readFromUnknownStream (state) ? kResultTrue : kResultFalse; - if (readFromMemoryStream (state) || readFromUnknownStream (state)) + { + if (! getHostType().isFruityLoops() && readFromMemoryStream (state)) return kResultTrue; + if (readFromUnknownStream (state)) + return kResultTrue; + } return kResultFalse; }