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

Fixed error restoring VST3 state in FL Studio

This commit is contained in:
tpoole 2016-11-29 19:26:50 +00:00
parent acf554a895
commit 2ec8fb49d7

View file

@ -1385,6 +1385,8 @@ public:
FUnknownPtr<IBStream> 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))
return kResultTrue;