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:
parent
acf554a895
commit
2ec8fb49d7
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue