Correct reading chunks

They're not actually stored in `data`, but in `*data`.
This commit is contained in:
Robbert van der Helm
2020-03-10 00:36:29 +01:00
parent 7fcf5abaf2
commit e89ddfe7b1
4 changed files with 24 additions and 29 deletions
+1 -1
View File
@@ -148,7 +148,7 @@ class DispatchDataConverter : DefaultDataConverter {
// TODO: More of these structs
switch (opcode) {
case effGetChunk:
return WantsBinaryBuffer();
return WantsChunkBuffer();
case effProcessEvents:
return DynamicVstEvents(*static_cast<const VstEvents*>(data));
break;